Constraints | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Constraints

Can anyone explain about the contains of tables?

20th Nov 2016, 5:01 AM
Ananthoos Ananthu
Ananthoos Ananthu - avatar
1 Respuesta
+ 4
constraints are the condition given to column(s) NOT NULL specifies the field can not be empty UNIQUE ensures that the table should have the unique statement PRIMARY KEY defines the statement as primary key for the table DEFAULT puts a default value to a field if not given by the user CHECK limits the values that can be inserted into a column .of a table
20th Nov 2016, 2:20 PM
Haldhar Patel
Haldhar Patel - avatar