The GetName() only returns the column name, so I still can't distinguish which table the column belongs to.
I tried using the GetSchemaTable(), hoping it returns the table/column info for each field. Unfortunatley, that information is not included in the schema table, see below.
************************************************************************************************
ColumnName = col1
ColumnOrdinal = 0
ColumnSize = 50
NumericPrecision = 255
NumericScale = 255
IsUnique = False
IsKey =
BaseServerName =
BaseCatalogName =
BaseColumnName = col1
BaseSchemaName =
BaseTableName =
DataType = System.String
AllowDBNull = False
ProviderType = 22
IsAliased =
IsExpression =
IsIdentity = False
IsAutoIncrement = False
IsRowVersion = False
IsHidden =
IsLong = False
IsReadOnly = False
ProviderSpecificDataType = System.Data.SqlTypes.SqlString
DataTypeName = varchar
XmlSchemaCollectionDatabase =
XmlSchemaCollectionOwningSchema =
XmlSchemaCollectionName =
UdtAssemblyQualifiedName =
NonVersionedProviderType = 22
************************************************************************************************
Is there a different way I can execute the SQL command in order to obtain the table name as part of the schema?
Massis