Dropping a SQL Server Native Client Table

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW)

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

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.

See Also

Tables and Indexes