Answers for "defined constraint in a new table sql"

SQL
0

sql constarint

It creates a new constraint on an existing table, which is used to specify
rules for any data in the table.
Example: Adds a new PRIMARY KEY constraint named ‘user’ on columns
ID and SURNAME.
ALTER TABLE users
ADD CONSTRAINT user PRIMARY KEY (ID, SURNAME);
Posted by: Guest on January-07-2021

Code answers related to "defined constraint in a new table sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language