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

What do you mean by stored techniques? How would we use it?

768


What is bulkcopy in sql?

735


What is the recommended total size of your memory optimized tables?

710


What stored by the model?

719


What are the types of subquery?

737






How can i Relate Tables in SSIS

808


What is transaction server implicit?

691


What is function of ROLLUP ?

801


What are sql servers used for?

721


Why can there be only one clustered index and not more than one?

734


What is primary key, unique key, and foreign key?

726


Explain what are the authentication modes in sql server?

679


What is GUID in sql server?

822


if you encounter this kind of an error message, what you need to look into to solve this problem? : Sql server database administration

721


Does group by or order by come first?

713