Solved

how to make table or index corrupt ('suspect') in Sybase

Posted on 2001-06-21
3
734 Views
Last Modified: 2008-02-01
I know it sounds crazy, but I'm testing some scripts to detect suspect tables and indexes in Sybase and I'm wondering how to deliberately force a table or index into suspect or corrupt status.  Any ideas?
0
Comment
Question by:schumacr
3 Comments
 
LVL 1

Accepted Solution

by:
gamaerte earned 50 total points
Comment Utility
Well Mr Crazy,

Try fetching the on-disk placement(I don't have a Sybase engine on site , nor documentatio,which means I can't tell you which system table provides you this information) from one of those indexes /tables and alter it with a hex editor .
and do a select on that table to make the engine "see" it is corrupt.

But doing that will make your database corrupt , and you will need to restore.

Greetings

gamaerte
0
 
LVL 54

Expert Comment

by:nico5038
Comment Utility

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - Answered by: gamaerte  
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 

Expert Comment

by:Jgould
Comment Utility
Question has been closed as per recommendation

JGould-EE Moderator
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Read about achieving the basic levels of HRIS security in the workplace.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now