Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.2 KB

dropping-a-sql-server-table.md

File metadata and controls

29 lines (23 loc) · 1.2 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Drop SQL Server table (OLE DB driver)
Learn how to remove a SQL Server table from a database by using the ITableDefinition::DropTable function in the OLE DB Driver for SQL Server.
David-Engel
davidengel
06/14/2018
sql
connectivity
reference
tables [OLE DB]
deleting tables
OLE DB Driver for SQL Server, tables
removing tables
dropping tables

Dropping a SQL Server Table

[!INCLUDE SQL Server]

[!INCLUDEDriver_OLEDB_Download]

The OLE DB Driver for SQL Server exposes the ITableDefinition::DropTable function to remove a [!INCLUDEmsCoName] [!INCLUDEssNoVersion] 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