In the primary key have a multiple field or not?

Answers were Sorted based on User's Feedback



In the primary key have a multiple field or not?..

Answer / jivi.preethi

yes,it having multiple field

Is This Answer Correct ?    16 Yes 1 No

In the primary key have a multiple field or not?..

Answer / prashanth kumar

Yes , it have multiple fields.Run below query and creating
primary key on p_Id and LastName.

CREATE TABLE Persons
(
P_Id int NOT NULL,
LastName varchar(255) NOT NULL,
FirstName varchar(255),
Address varchar(255),
City varchar(255),
CONSTRAINT pk_PersonID PRIMARY KEY (P_Id,LastName)
)

Is This Answer Correct ?    9 Yes 0 No

In the primary key have a multiple field or not?..

Answer / vinay

yes it multiple field

Is This Answer Correct ?    4 Yes 0 No

In the primary key have a multiple field or not?..

Answer / anubhav tyagi

Yes,it Have Multiple Field, But Not same

Is This Answer Correct ?    1 Yes 0 No

In the primary key have a multiple field or not?..

Answer / rajkumar

s primary key have the multiple filed use os composite
primary key.

Is This Answer Correct ?    1 Yes 0 No

In the primary key have a multiple field or not?..

Answer / ziyaur rahman

no,in one table there is only one primary key field

Is This Answer Correct ?    2 Yes 2 No

In the primary key have a multiple field or not?..

Answer / prasadhari_m@yahoo.com

A TABLE ALLOWS ONLY ONE PRIMARY KEY.

Is This Answer Correct ?    0 Yes 1 No

In the primary key have a multiple field or not?..

Answer / vernold

NO, we only have 1 FIELD FOR PRIMARY KEY

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More SQL Server Interview Questions

Diff between Composite key, Alternate Key, Candidate Key, Primary Key, Unique Key, Super Key, Foreign Key

1 Answers  


What is used to replicate sessions between instances in coldfusion clusters?

0 Answers   HCL,


What happens if date-only values are provided as date and time literals?

0 Answers  


What are the advantages of sql stored procedure?

0 Answers  


Write a stored procedure for emplpoyee and department table to get DeptName which having no employee. Table Structure- Emp-Emp_Id,Emp_Name,Dept_id Dept-Dept_Id,Dept_Name

7 Answers   TCS,






Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture

0 Answers  


to explain sql server 2000 architecture & authentication

1 Answers   HCL,


What is read uncmmited?

0 Answers  


How to list all objects in a given schema?

0 Answers  


What is the maximum size of column in sql server?

0 Answers  


what operator performs pattern matching?

2 Answers  


1.what is the diff between nolock optimizer and read uncommitted isolation? 2.what is the diff between revoke and deny? 3.what is percieved down time? 4.whether password protection are required for backups?if yes why?if no why? 5.what is fill factor? 6.what is cost analysis? 7.what is mean by piece meal restore? 8.what is 'rowguidcol'? 9.impersonate permission? 10.what is selectivity?

0 Answers  


Categories