SQL DROP DEFAULT 關鍵字
DROP DEFAULT
DROP DEFAULT
命令用於刪除 DEFAULT 約束。
To drop a DEFAULT constraint, use the following SQL (要刪除 DEFAULT 約束,請使用以下 SQL 語句)
SQL Server / Oracle / MS Access
ALTER TABLE Persons
ALTER COLUMN City DROP DEFAULT;
MySQL
ALTER TABLE Persons
ALTER City DROP DEFAULT;