GetColumns for SQL Server give no Columnnames back
Posted: Sun 03 Aug 2008 22:41
I need the Column and Indexnames from SQL Server and therefor I created a TDAMetadata - Object with TUniConnection.CreateMetaData.
I provided Restrictions with TABLE_SCHEMA and TABLE_NAME
MetadataKind to 'Columns' and Open does not return a Result.
Also getting TABLE - Names only Works if Scope is set to local but in this Case i Get Tables and View.
I See there is another Parameter TABLE_CATALOG what do I have to assign to this Restriction or leave it empty ?
Im Using SQL Server 2005 with native client installed.
Pls Help
I provided Restrictions with TABLE_SCHEMA and TABLE_NAME
MetadataKind to 'Columns' and Open does not return a Result.
Also getting TABLE - Names only Works if Scope is set to local but in this Case i Get Tables and View.
I See there is another Parameter TABLE_CATALOG what do I have to assign to this Restriction or leave it empty ?
Im Using SQL Server 2005 with native client installed.
Pls Help