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...

explain the type of contraints

Answer Posted / reva ram sahu

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 ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between dropping a database and taking a database offline?

1118


What are the authentication modes in sql server? How can it be changed?

1056


As per your opinion what are the five top responsibilities of a dba? : sql server database administration

1064


If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?

887


Where do we use trace frag?

971


What are the difference between primary keys and foreign keys?

915


Explain what is scheduled job and how to create it?

904


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

1076


What is pessimistic concurrency?

924


What is the impact on other user sessions when creating indexes?

876


How to recreate an existing index in ms sql server?

987


What is row_number()?

934


code to create procedure for taking databse backup in sql server or i have the query for it but what it's query returns means i want to show on my jsp that the databse backup has been taken on the basis of that return value.does it returns 0 or 1.wat is the code for that

2168


What is the contrast between sql and mysql?

1051


When would you use sql joins?

913