PC Review


Reply
Thread Tools Rate Thread

Browsing database structure

 
 
R_O_O_K
Guest
Posts: n/a
 
      6th Jul 2003
Hi!

I need to view the structure of a DBMS (ie what databases does it
contain and what is their structure). ADOX takes care of that in OleDb,
but what tool should I use with MSSQL, Postgres or any other?

Regards!
Michal Ziemski

 
Reply With Quote
 
 
 
 
Bob Beauchemin
Guest
Posts: n/a
 
      6th Jul 2003
If you are using the OleDb data provider for .NET, you can use
OleDbConnection.GetOleDbSchemaTable.

If you are using database-specific data providers, the closest you can come
is to use ordinary SELECT statements against the SQL92/99 standard
INFORMATION SCHEMA views. If you are using database-specific data providers
and your database doesn't support the INFORMATION SCHEMA views, you'll need
to use the database-specific metadata tables.

Interestingly ODBC exposes the equivalent of the OLE DB schema tables
(SQLTable) but the Odbc data provider doesn't support it.

Hope this helps,
Bob Beauchemin
http://staff.develop.com/bobb


"R_O_O_K" <(E-Mail Removed)> wrote in message news:be9dev$lcf$(E-Mail Removed)...
> Hi!
>
> I need to view the structure of a DBMS (ie what databases does it
> contain and what is their structure). ADOX takes care of that in OleDb,
> but what tool should I use with MSSQL, Postgres or any other?
>
> Regards!
> Michal Ziemski
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Database Structure =?Utf-8?B?TGlzYQ==?= Microsoft Access Database Table Design 5 4th Oct 2007 09:20 PM
How do I create a database, using another database's structure? =?Utf-8?B?Y3NocmFuZA==?= Microsoft Access 2 30th Dec 2004 04:45 PM
Using a database as a template for structure, but use that to save as a database with different name Steven Scaife Microsoft Access Macros 1 1st Nov 2004 04:27 PM
Windows XP Locks or Stops Responding or Slow to Respond When Browsing File Structure Impetus Windows XP Help 4 22nd May 2004 03:31 AM
Database Structure and XML Jerome Schnitzler Microsoft ADO .NET 6 16th Feb 2004 02:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:33 PM.