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

Answer Posted / simi

yes,
CREATE TABLE [dbo].[custrate](
[id] [int] NOT NULL,
[patname] [char](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NOT NULL,
[rate] [int] NULL,
CONSTRAINT [PK__custrate__12FE9D09] PRIMARY KEY CLUSTERED
(
[id] ASC,
[patname] ASC
)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me the difference between clustered and non-clustered index?

504


What is the difference between a function and a trigger?

567


Why I am getting "the microsoft .net framework 2.0 in not installed" message?

505


What is your recommendation for a query running very slow? : sql server database administration

587


How to turn off warning messages during php execution?

522






ow to bring suspect mode datbase online from scratch

1396


How to copy the tables, schema and views from one sql server to another?

552


Do you know the cursor types?

614


Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

653


What is the difference between system objects and user objects?

699


Do you know hot add cpu in sql server 2008?

534


What is sql server agent and what are the two modes of authentication in sql server?

537


What is dbcc command in sql server?

581


How to delete an existing row with delete statements in ms sql server?

543


How do I trace a query in sql server?

538