Ask the Expert

Searching tables one at a time to track report values

I inherited a frontend application that populates a Sybase ASA database. This database has over 300 tables, and there is no data dictionary. The users of the application want to create reports using Crystal Reports. They are giving me screen prints from the frontend app and asking where that data is stored in the database. Is there a way to search all of the tables at one time for a value so that I can see which table and field the app is populating?

Requires Free Membership to View

The problem you are having is that you do not have a logical model of your database. For now you can download a trial version of PowerDesigner.

And use the tool to reverse engineer the database you have. What you are really interested is the relationship and constraints among various tables, the primary and foreign keys etc.

In the absence of this tool you can look at a given database by examining tables in sysobjects, syscolumns, sysindexes, syskeys and sysconstraints. However I strongly advise you to use use a modeling tool like PowerDesigner for this purpose.


This was first published in October 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: