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

constraint is a rule which can not be voilated by end users.
Different types of constraints are available.They are:-
1)default constraint:-which is used to define a default
value.
2)primary key:-the key which does not allows duplication
and null values.
3)foreign key:-the key used to refer primary key defined
field in another table and it allows duplication.
4)null:-which allows NULL values.
5)not null:-which does not allows NULL values.
6)unique key:-which does not allows duplication but allows
NULL values.

Is This Answer Correct ?    283 Yes 70 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to drop an existing table with "drop table" statements in ms sql server?

1045


What is the difference between cube operator and rollup operator? : SQL Server Architecture

1068


how to control the amount of free space in your index pages? : Sql server database administration

994


what are candidate key, alternate key and composite key? : Sql server database administration

866


What are the advantages of policy management?

954


How to make a column nullable?

1051


What are “phantom rows”?

1622


How can I add Reporting Services reports to my application?

127


What is user-defined functions? What are the types of user-defined functions that can be created?

990


Differentiate between SQL and ORACLE joins and write their syntax.

987


What is the Control Flow in SSIS

1042


What is transaction server implicit?

951


How to use “drop” keyword in sql server and give an example?

1097


What do you understand by a stored procedure?

1051


What Is Rdbms?

1094