check, not null,unique
Answers were Sorted based on User's Feedback
Answer / prasanthi
Check Constraint:
The CHECK constraint is used to limit the value range that
can be placed in a column.
not null constraint:
if we give not null constraint to any column it will not
accept null values.
Unique Conatraint:
Unique key is similar to primary key but it accepts one
null value.
For o column Setting Unique key+Not NULL we can make
Primary Key.
Is This Answer Correct ? | 5 Yes | 0 No |
What is the syntax to execute the sys.dm_db_missing_index_details? : sql server database administration
Name 3 of the features that the sql server built-in function loginproperty performs on standard logins? : sql server security
What is the difference between DATETIME2 and DATETIME?
How do I find the port number for sql server?
What objects does the fn_my_permissions function reports on? : sql server security
How does stuff differ from the replace function?
What is the new security features added in sql server 2016? : sql server security
Explain what is “asynchronous” communication in sql server service broker?
Do comments need to go in a special place in sql server 2005?
What are the types of indexes?
You are designing a database for your human resources department in the employee table, there is a field for social security number, which cannot contain null values if no value is given, you want a value of unknown to be inserted in this field what is the best approach?
What is Fragmentation and Defragmentation? For 32GB Table,How can we do the fragmentation?