in reply to Database Table Names
In the database, there is a table called sysobjects that stores information about all the objects in that database. Each object type (key, table, index, etc.) has a specific code. These codes are stored in the xtype field. So...
SELECT name FROM sysobjects WHERE xtype='U' ORDER BY name
... should return a list of all table names in the database.
Cheers
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Database Table Names
by Anonymous Monk on Nov 08, 2003 at 01:20 UTC |