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 are constraints? Explain different types of
constraints?

Answer Posted / aravindu chowdary

CONSTRAINTS:
*It is a rule (or) restriction ,which is enforced during a
creation of table.
*constraints raises automatically at the time of
inertion,updation,deletion.
*constraints there are 3 types
1.Domain Integrity
* Not null:Donot allow null value.
* check: Limits the range of values or domain, checks
the values which a col can have
2.Entity Integrity
* Unique key:donot allow duplicate values, but allows
one null per col.Can have multiple unique constraints on a
table





* Primary key : Ensure no duplicate data and not allow
nulls.

3.Refrential Intrgrity
*Forgien key:Referntial integrity b/w 2 tables, one
table col values based on other table col values

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is thr feature of change data capture?

1033


What is attribute? : sql server analysis services, ssas

1069


How to edit table in sql server 2017?

980


What are advantages of ssrs or why we should use ssrs?

145


Mention a few common trace flags used with sql server?

982


Can we join two tables without primary key?

1095


explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?

2550


What is encryption key?

137


What is the difference between a clustered index and a non-clustered index?

1057


How to make a remote connection in a database?

1023


What is @@rowcount in sql?

1058


How would you use user_constraints table in DB?

1060


What is the standby server?

998


Explain transaction server explicit transaction?

974


Why should one not prefix user stored procedures with ‘sp_’?

1099