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

How to start and end transact-sql statements?

1028


How to get a list all databases on the sql server?

1101


How do you rename a table in sql server?

1025


What do you mean by table and field in sql?

1015


What is the difference between DATETIME2 and DATETIME?

1080


What is the new security features added in sql server 2014? : sql server security

998


What are the steps to insert a table?

945


Can you insert NULL in unique column?

1161


What does asynchronous call backs means?

1157


what is a transaction and what are acid properties? : Sql server database administration

1024


Explain the properties of the relational tables?

996


What are the different types of data sources in ssrs?

196


How to return the top 5 rows from a select query in ms sql server?

1140


how can u get last observation in an unknown dataset ?

2436


Difference between connected and disconnected database in .net with sql server?

1095