Bewerken

Delen via


Dropping a SQL Server Table

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

Download OLE DB driver

The OLE DB Driver for SQL Server 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