Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Discovering the database structure in code

Status
Not open for further replies.

CosmicCharlie

Programmer
Jun 30, 2006
44
US
I would like to write some VB.Net code that can discover and return information about SQL Server databases on the network. The goal is to iterate through user tables and their columns, stored procedures and their parameters, etc. What code will do this? Does it require reflection? Will a non-reflection method work?

Also, can this be done at design time, so that, for example, table columns will appear in the intellisense window as I write my code?

I appreciate any insights.

Cosmic Charlie
 
Thanks to you both. This is precisely what I needed. I think using SQLDMO especially will fit the bill perfectly. I am getting on this today!

Cosmic Charlie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top