Sybase ASE: dbcc dbrepair and writepage/readpage

Does anyone know the syntax for the dbcc dbrepair commands writepage and readpage for Sybase ASE?  These are being used by Whitesands’s ProActive DBA.

The equivalent on Microsoft SQL Server are:

dbcc readpage ({ dbid, 'dbname' }, fileid, pageid, 
    formatstr [, printopt = { 0 | 1} ])
dbcc writepage ({ dbid, 'dbname' }, fileid, pageid,
    offset, length, data)

I’ve figured out readtext:

dbcc dbrepair(<database name|dbid>, readpage, <page number>)

Continue reading “Sybase ASE: dbcc dbrepair and writepage/readpage”

Share Button