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 / henry

Constraints are used to restrict or protect the data and
accessing from the table
There are 5 types of constraints available,
That,
1.Primary-which is not allowed duplication and Null values
2.Unique-Which is also Not allowed duplication But It is
allowed one single null values
3.Foreign - Which is allowed duplication and Null values.
But It refers Value from primary Key table to its own table
Value.
4.Check Constratints
5.Not null

Is This Answer Correct ?    5 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to delete duplicate records based on single column from a table?

1037


How to loop through returning rows?

1023


What is the difference between coalesce() & isnull()?

1118


What is nolock?

965


We are updating a field in sql and alter the row also.after giving the commit command the system is crashed.what will happen to the commands given,whether it will update and alter the table or not?

1375


What is difference between index seek vs. Index scan?

1143


how to avoid cursors? : Sql server database administration

962


Difference between drill down and drill through report.

943


What is the use of stored procedure?

929


What is tempdb database? : SQL Server Architecture

1178


Do you know what are acid properties?

1063


What are the different types of sub-queries?

1036


What is the difference between varchar and varchar(max) datatypes?

1057


What happens when unicode strings concatenate with non-unicode strings?

1073


How to turn on the mssql api module in php?

1065