Issuing Commands to the Underlying Data Provider

Microsoft ActiveX Data Objects (ADO)

ADO 2.5

Issuing Commands to the Underlying Data Provider

Any command that does not begin with SHAPE is passed through to the data provider. This is equivalent to issuing a shape command in the form "SHAPE {provider command}". These commands do not have to produce a Recordset. For instance, "SHAPE {DROP TABLE MyTable} is a perfectly valid shape command, assuming the data provider supports DROP TABLE.

This capability allows both normal provider commands and shape commands to share the same connection and transaction.

See Also

Data Shaping | Formal Shape Grammar | Shape Commands in General

© 1998-2003 Microsoft Corporation. All rights reserved.