Database MCQS - QUESTION DETAILS

In SQL Server, what is the purpose of the CHECK constraint?
A. Ensures unique values in a column
B. Limits the number of rows returned
C. Enforces a condition on a column
D. Sets a default value for a column

CHECK constraint enforces a condition on a column in SQL Server.

Similar Questions

Which SQL Server statement is used to create a unique constraint on a column?






Which SQL Server statement is used to grant specific privileges to a user?






In SQL Server, what is the purpose of the CASE statement?






In Oracle, what is the purpose of the BETWEEN operator?






Which Oracle function is used to find the length of a string?






What does SQL stand for?






Which command is used to select all columns from a table named "employees"?






In SQL Server, what is the purpose of the SQL Server XML data type method value()?






In Oracle, what is the purpose of the INTERSECT operator?






Which SQL Server statement is used to add a new row to a table?