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 |
Beginning with sql server version 7 0, a new enhanced data type nchar was added what type of data is supported with this data type?
What command would you use to add a column to a table in sql server?
How create table structure only from tableA to TableB if TableA have some data?
What is difference between table aliases and column aliases? Do they affect performance?
Tell me what is difference between clustered and non clustered index?
What is measure group, measure? : sql server analysis services, ssas
Can two tables share a primary key?
What is the optimal disk configuration for a database server and what raid configurations would you use if budget is not a constraint?
What do you mean by an execution plan?
What will be query used to get the list of triggers in a database?
How to use old values to define new values in update statements in ms sql server?
What is stored procedures?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)