Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
Yes, the GetSchema() is probably the preferred way to do it. You can also look at the sys.sysobjects view and I think there is a sys.sysdatabases view, but using GetSchema() is version independent. Also, if you call GetSchema() and don't pass it any restrictions, it will give you a DataTable containing the different schema objects that can be queried and the restrictions that are needed to narrow each of the selections.
|