Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Dropping a SQL Server Table

The SQL Server Native Client OLE DB provider exposes the ITableDefinition::DropTable function. This allows consumers to remove a Microsoft SQL Server table from a database.

Consumers specify the table name as a Unicode character string in the pwszName member of the uName union in the pTableID parameter. The eKind member of pTableID must be DBKIND_NAME.

Community Additions

© 2015 Microsoft