SQL

Keyword DROP DEFAULT SQL : Fungsi dan Contohnya

DROP DEFAULT

Perintah DROP DEFAULT digunakan untuk menghapus constraint DEFAULT.

Untuk menghapus constraint DEFAULT, gunakan SQL berikut ini:

SQL Server / Oracle / MS Access:

ALTER TABLE Persons
ALTER COLUMN Alamat DROP DEFAULT;

MySQL:

ALTER TABLE Persons
ALTER Alamat DROP DEFAULT;

Hanifah Nurbaeti