sql server - How can I explore the data in a SQL database, including foreign tables? -


i want know if tools exist explore data in relational database, , drill through master-detail relationships.

i know how view data in single table, , know how construct sql queries join tables. however, n-levels deep, have write sql statement, find id of item i'm interested in, , repeat n times. extremely tedious , hard visualize results.

however, want know if there tool lets me @ data in table, , if there foreign keys, lets me expand data show foreign data. , hopefully, lets me drill through multiple levels of detail.

do such tools exist?

i'm using ms sql, , using sql server management studio execute sql.

information regarding keys , table information accessed through sysobjects , other sys tables , have seen custom scripting capable of reading these tables provide of info you're looking here, though click drill down functionality out of scope. think toad (tool oracle app developers) might have options along route (though not in free version).

it sounds you're looking dashboard setup visualize , allow click , drill down through results. i'm unsure on free software functionality, though tools such business objects, microstrategy, , several others give (i think) you're looking for. possibly expensive , take quite bit of time implement pending setup...tis paid ;)

just echo beth, can create diagrams withins mssql...it'll give , idea of how tables relate, assuming proper keys , relations have been setup.

editting add: comment towards part of questions : know how view data in single table, , know how construct sql queries join tables. however, n-levels deep, have write sql statement, find id of item i'm interested in, , repeat n times. extremely tedious , hard visualize results.

i'll nest queries (this troubleshooting technique only, don't dare try implement production)...

 select * finaltable id in      (select id2 table2 anotheridcolumn in      (select id3 yetanothertable yet anotheridcolumn in (input_id_you're_looking_for) 

i wouldn't use technique if expect more 5 or 10 rows returned @ end...but it'll save of tedious run 1 statement , copy result next work you're doing


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -