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

What are the functions involved in shared information architecture?

1124


What is primary index and secondary index?

1070


What is smp and mpp platforms?

1037


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

1232


In general, how do you optimze any sql in teradata?

1090


How to view every column and the columns contained in indexes in teradata?

1101


What are the various etl tools in the market?

1125


What are tpump utility limitations?

1178


What is the purpose of indexes?

1131


What is meant by a Virtual Disk?

1209


How many codd's rules are satisfied by teradata database?

1151


What are the frequently used data types in teradata?

1136


What is meant by a dispatcher?

1063


Explain Teradata performance tuning and optimization?

1223


What is a clique?

1157