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
How to view existing indexes on an given table using sys.indexes?
What do you mean by an execution plan? Why is it used?
How does using a separate hard drive for several database objects improves performance right away?
how to define testing of network layers? : Sql server database administration
How to use “drop” keyword in sql server and give an example?
How do you trace the traffic hitting a sql server?
Does full backup break log chain?
explain what is raid and what are different types of raid configurations? : Sql server database administration
What is the difference between resultset and resultsetmetadata?
What is database mirroring?
How to find the version of sql server? : sql server database administration
If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?
When does the auto update index statistics feature in sql server turn itself on?q) what specific conditions database should meet, before you can bulk copy data into it using bcp?
Do you know what are the reporting services components?
Can we use custom code in ssrs?