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

If a table column has is UNIQUE and has NOT NULL, is it
equivalent to a PRIMARY KEY column?

Answer Posted / sujith

no it is not.......... you may have some other columns which
have not null and unique constraints on it..... the thing is
that you should explicitly choose which one should be
treated as primary key so that clustered index can be put on
it, and non clustered on others where needed.........
foreign key may be used to refer to unique constraint
column, but while dropping you may loose relative unique
constraint also.. where as in case of primary referred by
foreign, will not allow so to happen............

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain view?

988


What is an anonymous block?

1174


What do you mean by redo log file mirroring?

985


What is Segment Advisor in Oracle?

1061


What is difference between cartesian join and cross join?

1032


Why does oracle 9i treat an empty string as null?

992


Which environment variables are absolutely critical in order to run the OUI?

2080


20. Using a set operator, display the client number of all clients who have never placed an order.

2150


What are set operators?

1035


What is an oracle data file?

1050


How much memory your 10g xe server is using?

1061


What is catalog in Oracle?

1285


Explain a data segment?

1026


Explain rename?

933


How to rename an existing table?

1060