SQL DROP COLUMN 关键字
DROP COLUMN
The DROP COLUMN
命令用于删除现有表中的列。
以下 SQL 删除 "Customers" 表中的 "ContactName" 列
示例
ALTER TABLE Customers
DROP COLUMN ContactName;
The DROP COLUMN
命令用于删除现有表中的列。
以下 SQL 删除 "Customers" 表中的 "ContactName" 列
ALTER TABLE Customers
DROP COLUMN ContactName;
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]