Integrated Indexes and Commands

OLE DB Programmer's Reference

Integrated indexes usually cannot be exposed by rowsets generated by executing a command. Therefore, if the consumer attempts to set DBPROP_IRowsetIndex to VARIANT_TRUE, ICommandProperties::SetProperties returns DBPROPSTATUS_NOTSUPPORTED in the DBPROP structures for this property.

The primary reason for this restriction is that commands can impose an order on a rowset, such as the ORDER BY clause in SQL, and this would conflict with the order imposed by the index.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net