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 / rehan khan

constraint enforces rules at the table level and prevent the deletion of a table if there are dependencies .

constraint type:

primary key
foreign key
unique
not null
null
check
constraints can be defined at the time of table creation or after table has been created.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between inner join and full join?

1005


Can you explain what are commit and rollback in sql?

885


What options are available to audit login activity? : sql server security

1091


Which joins are sql server default?

937


What is create statement?

887


What are “phantom rows”?

1607


How do you know if sql server is running on your local system?

975


Tell me the use of keyword with encryption. Create a store procedure with encryption?

961


What is clustered primary key?

958


Differentiate sql server reporting services vs. Crystal reports?

187


What are views in ms sql server?

1023


How to use order by with union operators in ms sql server?

967


What is spatial and temporal data?

931


How to define output parameters in stored procedures?

959


What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?

984