Answers for "add a column to table with default value of other column"

SQL
2

alter table add column with default value

ALTER TABLE Protocols
ADD ProtocolTypeID int NOT NULL DEFAULT(1)
Posted by: Guest on August-03-2020
-1

add column alter table default value

ALTER TABLE PERSON
ADD IS_ACTIVE VARCHAR2(1) DEFAULT 'N' NOT NULL
Posted by: Guest on August-12-2020

Code answers related to "add a column to table with default value of other column"

Code answers related to "SQL"

Browse Popular Code Answers by Language