One table how may column and Primary key

Answers were Sorted based on User's Feedback



One table how may column and Primary key..

Answer / vignesh lakshmirajan

ONE COLUMN MAY HAVE N NUMBER OF COLUMNS,.. THERE IS NO RESTRICTION IN THAT.. BUT A TABLE SHOULD CONTAIN ONLY ONE PRIMARY KEY, BUT IT MAY HAVE N NUMBER OF UNIQUE KEYS.

Is This Answer Correct ?    12 Yes 3 No

One table how may column and Primary key..

Answer / shashi kishor prasad

In a Table there can have as many as 1024 colums but not
more than that is allowed. There can be only 1 primary key
in a table However you can combine multiple keys together to
act like a primary key that is called composite key.
Composite key is also a primary key, difference is that it
is a combination of no of colums that act as candidate key.

Is This Answer Correct ?    8 Yes 1 No

One table how may column and Primary key..

Answer / rehan khan

guys first plz check the question what is exactly asked ok

the numbers of column in a table can range from 1 to 254 and only one primary key in a table .

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Is it possible for a stored procedure to call itself or recursive stored procedure?

0 Answers  


What do mean by xml datatype?

0 Answers  


Write an sql query to find first weekday of the month?

0 Answers  


How to recreate an existing index in ms sql server?

0 Answers  


How much memory that we are using in Logshipping Concept?

0 Answers  






What is the difference between a clustered index and a non-clustered index?

0 Answers  


What is lookup override?

0 Answers   Informatica,


What is the default sql server instance name?

0 Answers  


what is hash nonclustered index

0 Answers  


how would you improve etl (extract, transform, load) throughput?

0 Answers   LinkedIn,


How to transfer data from a cursor to variables with a "fetch" statement?

0 Answers  


What does the automatic recovery do?

0 Answers  


Categories