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 / nambi 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 columns.

There are 4 Types of Constraints.
• Entity Integrity - Primary and Unique
• Domain Integrity - Default, Check and Not Null
• Referential integrity – Foreign Key
• User-Defined Integrity - enforces some specific
business rules that do not fall into entity, domain, or
referential integrity categories

Is This Answer Correct ?    13 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do use Having,Group by,Group function in SQL?

1787


what's the difference between a primary key and a unique key? : Sql server database administration

988


What is the recommended total size of your memory optimized tables?

1004


Explain the difference between HTTP and HTTPS in database?

1091


What is mssql?

1031


How to start and end transact-sql statements?

1083


What is sql server query analyzer?

1096


What are the different types of cursor?

1147


Difference between 2NF &3NF ?

1130


what is difference between NULL and ISNULL in SQL Server 2008?

1058


What are the events recorded in a transaction log?

1043


What do you mean by sql server agent?

1039


What keyword you will use to get schema appended to the result set of a ‘for xml’ query?

1060


What is the difference between a unique key and primary key?

1002


How do you trace the traffic hitting a sql server?

1189