Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is Constraint? How many types of constraints in SQL ?

Answer Posted / pandia rajan

A constraint is a property assigned to a column or the set
of columns in a table that prevents certain types of
inconsistent data values from being placed in the column
(s). Constraints are used to enforce the data integrity.
This ensures the accuracy and reliability of the data in
the database

CONSTRAINT=The threat or use of force to prevent, restrict,
or dictate the action or thought of others.

there are 7 types of constraints are there and they are
grouped in to 4 types. They are

TYPES GROUP
1.DEFAULT = DOMAIN INTEGRITY
2.NOT NULL = DOMAIN INTEGRITY
3.CHECK = DOMAIN INTEGRITY
4.FOREIGN KEY = REFERENTIAL INTEGRITY
5.UNIQUE KEY = ENTITY INTEGRITY
6.PRIMARY KEY = DOMAIN INTEGRITY
7.RULE = USER DEFINED INTEGRITY

Is This Answer Correct ?    8 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I save my report as html, excel or word? : sql server management studio

905


What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?

850


Can we store videos inside the sql server table?

908


What are the advantages of the mirroring?

1013


What is normalization according to you and explain its different levels?

897


Give an example of why you would want to denormalize a database

924


Recommend an approach to ensuring that all changes in the remote databases synchronize with the SQL Azure database?

128


Can sub report data source be different from that of the parent report?

135


What is the syntax to execute the sys.dm_db_missing_index_details? : sql server database administration

1077


What is 3nf normalization form?

1023


What are the new security features added in sql server 2012? : sql server security

948


Which are the olap features?

907


What is ssrs?

117


What functions can a view be used to performed?

995


How do you clear a log file?

983