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

IN A TABLE CAN WE USE PRIMARY KEY IN ONE COLUMN AND IN
ANOTHER COLUMN BOTH UNIQUE AND NOT NULL CONSTRAINS.IF YES
HOW?PLZ GIVE ME A EXAMPLE.

Answer Posted / oceanblue

Yes, you can have a column for Primary key and have another
column which will have no duplicates or null.

e.g.

A Salary Table will have employee ID as primary key. The
table also contains TAX-ID which can not be null or duplicate.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Teradata performance tuning and optimization?

1156


What are the functions involved in shared information architecture?

1070


What is inner join and outer join?

1102


What are the different functions performed in development phase?

1073


What are the uses of bynets in multi-node systems?

1026


What is the basic syntax for teradata select statement?

1031


Can you fastexport a field, which is primary key by putting equality on that key?

1173


Mention a few of the ETL tools that come under Teradata.

1073


Where is teradata rdbms used?

1090


What are the multiload utility limitations?

1045


What happens when a node suffers a downfall?

1120


Explain teradata vs. Redshift?

1009


What are the different table types that are supported by teradata?

998


What is smp and mpp platforms?

968


What is the difference between global temporary tables and volatile temporary tables?

1165