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

Is primary key = unique key,not null?
If yes,please explain
IF No,please explain

Answer Posted / kirti

Yes.When a column is assigned primary key it means it
contains unique value(i.e. no duplicate value is allowed) &
it can't accept null values.
Whereas unique key means no duplicare value is allowed, but
null value is allowed. And not null means no null value is
accepted but duplicate value can be passed.
So when we assign primary key to a column, the column
becomes both unique & not null.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are steps for interface? where is exchange rate defined in which table?

2054


Oracle

2319


What is a read write transaction in oracle?

1031


What are internal user account in oracle?

947


what is the use of system.effective.date variable in oracle?

1054


What happens if you use a wrong connect identifier?

979


What is the relationship among database, tablespace and data file?

927


How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?

3153


definition of cluster and non-clustered index?

2959


What are the varoius components of physical database structure of oracle database?

945


What do database buffers contain?

958


In Oracle Clinical 4.5.0, can the VIEW_TEMPLATE_ID column in DATA_EXTRACT_VIEWS table contain NULL value?

2292


How to add a new column to an existing table in oracle?

1069


Explain what are the uses of rollback segment?

960


From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.

1010