开发者

finding a relationship accross many tables

I've inherited a development with nearly 800 tables. I need to produce reports that span multiple tables. I'm usong the likes of SQL Dependency 开发者_C百科Tracker to help me find the required tables, but even this is painful.

Do you know of a app that I can say [start table] [end table] now find me all the tables inbetween?

Any ideas? Thanks


I realize you are looking for a finished app to do the job, but in case you do not find one better than SQL Dependency Tracker, here is a tip to get you started writing your own:

For SQL Server, Listing SQL Server Object Dependencies describes 4 different ways to programmatically determine immediate neighbors. SQL script to list table dependencies provides a complete script to do this in Oracle (though unfortunately this Oracle solution requires membership in Experts Exchange to see the answer.)

These allow you to get immediate neighbors so you would need additional coding to repeat-and-search until you get to the final target you wish to connect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜