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

How to find duplicates in a table?

1167


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

1033


How many tables can you join in v2r5?

1018


Mention the procedure via which, we can run Teradata jobs in a UNIX environment.

956


Highlight all the modes that are present under Confidence Level.

936


Explain the term 'tables' related to relational database management system?

994


What are normalization, first normal form, second normal form and third normal form?

1016


What are some commonly used bteq scripts?

960


What does Amp contain and what are all the operations that it performs?

958


What are the components provided on node?

992


What are the primary characteristics of the Teradata.

1083


How many sessions of MAX is PE capable of handling at a particular time?

1047


What tools would you use for that?

1055


How do you define Teradata?

1007


Explain and compare pros and cons of start schemas?

999