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 many types of joins are there in teradata?

913


What are the newly developed features of Teradata?

971


How to run a query in teradata?

1007


Explain the most common data types used in teradata?

983


What are the functions of a Parser?

1028


What is spool space and when running a job if it reaches the maximum spool space how you solve the problem?

1057


What is teradata?

1060


Explain and compare pros and cons of start schemas?

975


How do you create tables? Exact syntax, and create profiles, users in teradata?

973


Syntax for case when statement?

1007


Explain teradata architecture in detail with a diagram.

1050


Explain amp in teradata?

1005


My table got locked during mload due to a failed job. What do I do to perform other operations on it?

1041


What is primary index and secondary index?

973


What are types of partition primary index (ppi) in teradata?

998