Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

SQL Server Database Anaysis

Given a sql server database (7/2000/2005) with no documentation what so ever, how could we analyse it and identify its general logic and functionality? For example, we would need to know (1) the purpose of each table and each stored proc; (2) the amount of times each one of them is called and who is calling who? Any handy tool/script (preferably free) currently exists for that purpose? Please advise. Thanks.
0
ksfok
Asked:
ksfok
  • 2
3 Solutions
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
unfortunately, there only few things that can help:
1) the data itself. looking at the data most often explains by itself what it is for, at least for most tables
2) the table an column names
3) triggers, procedures, functions, foreign key
4) using the query profiler, while running the application on purpose, reveils which sql are run, and hence show how it works.

0
 
YveauCommented:
... and of course 'who is calling who' can be queried from the system tables/views.
0
 
ksfokAuthor Commented:
Year go, when XBase was popular, there were tools help you generate a list of proc and function flow and the tables for system analysis purposes. Nothing like that exists today for SQLServer databases?
0
 
YveauCommented:
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now