I have noticed that Microsoft SQL Server 2005 Everywhere Edition OLE DB Provider doesn't support DBPROP_UNIQUEROWS property from
DBPROPSET_ROWSET property set. Does it mean that I have to use the KEY_COLUMN_USAGE rowset to get list of key columns in table?Yes, you should use DBSCHEMA_KEY_COLUMN_USAGE in this case. or you can get the same information with the following query: "select * from information_schema.key_column_usage;"
Monday, March 12, 2012
key columns
Labels:
columns,
database,
dbprop_uniquerows,
edition,
everywhere,
fromdbpropset_rowset,
key,
microsoft,
mysql,
ole,
oracle,
property,
provider,
server,
sql
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment