adspace


What do you understand by check constraint in sql server?

Answer Posted / Firatoo Prasad

A check constraint is a rule that is defined at the column or table level in SQL Server to ensure that only valid data is inserted, updated, or deleted in a table. Check constraints can be used to enforce business rules and ensure data consistency.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a scheduled job or what is a scheduled task?

1040


What is self contained sub query?

1141


How can you append an identity column to a temporary table?

1071


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1024


Can one drop a column from a table?

1091


Is it possible to have clustered index on separate drive from original table location?

1041


What are wait types?

1250


How do I create a trace in sql server?

1121


Can we do dml on views?

1039


If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?

1048


List the ways in which dynamic sql can be executed?

1087


How do I find query history in sql server?

1025


What are the properties of the transaction?

1074


Equi join and non equi join is possible with sql server?

1134


What is clustered index

1087