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


is there more the two primary key in a single table?

Answers were Sorted based on User's Feedback



is there more the two primary key in a single table?..

Answer / sathishrpillai

no, but there can be any number of forgein keys in a single
table.
A primary key of one table is the forgein key for other
table.

Is This Answer Correct ?    4 Yes 2 No

is there more the two primary key in a single table?..

Answer / chandra

no, we cant create more than one primary key in the single
bcoz it avoids the codds rule

Is This Answer Correct ?    3 Yes 1 No

is there more the two primary key in a single table?..

Answer / elumalai.k

No it is not possible.
A table has only one primary key
If the table has more than one primary key is called
composite key.

Is This Answer Correct ?    3 Yes 1 No

is there more the two primary key in a single table?..

Answer / navaneethakrishnan

no we cannot,

but we can do composite key in sql2005,

go in enterprise manager...

in the design view first set the primary key to one field
and then press ctrl key and set primary key to another field..

Is This Answer Correct ?    3 Yes 1 No

is there more the two primary key in a single table?..

Answer / manoj

cannot add multiple primary key constraint on a single table

Is This Answer Correct ?    2 Yes 0 No

is there more the two primary key in a single table?..

Answer / sudheer gowlikar

we cannot have more than one primary key on a table since
primary will create a clustered index and we can have only
1 clustered index on a table since clustered index will
sort data in data pages and the data sorted in one way
rather sorting number of ways.

Is This Answer Correct ?    2 Yes 0 No

is there more the two primary key in a single table?..

Answer / ramesh.p

No, One table can have one primary key

Is This Answer Correct ?    2 Yes 1 No

is there more the two primary key in a single table?..

Answer / sandeep rana

If table has more than one primary key is called
composite key....

Is This Answer Correct ?    1 Yes 0 No

is there more the two primary key in a single table?..

Answer / boominathan

No

Is This Answer Correct ?    12 Yes 12 No

is there more the two primary key in a single table?..

Answer / vincent

create table StudMaster(studid int not null,studname varchar
(20) not null,constraint Studmaster primary key clustered
(studid,studname))

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?

0 Answers  


What type of Index will get created after executing the above statement?

0 Answers  


How to generate the Reports for the Database? I need an Example for it.Will we manually do this or else any script is there? Please let me know ASAP...

1 Answers   Cognizant,


How do you trace the traffic hitting a sql server?

0 Answers  


When would you use it?

0 Answers  


What are the Advantages of using CTE in sql server?

0 Answers   Winsol Solutions,


What are different types of statements that are supported by sql?

0 Answers  


What is the status of services on passive node for failover cluster in sql server? : sql server database administration

0 Answers  


What are different types of data sources?

0 Answers  


Explain tablesample?

0 Answers  


One table Test with single column. These are the values in the table a b c d e f g h I need a query (without using any variable) with output as - a b c d f f g h

1 Answers  


Let’s say the table in the database is named as TBL_Register. The fields in this table include: 1. User_Name, 2. User_Telephone, 3. Register_Date The field Register_Date stores the current date and time of the registration. Write the SQL statement that inserts the data into the table.

2 Answers   Techno Solutions,


Categories