1.can we set the more than 1 primary keys for a table?
2.please give me the difference between Cluster Index and
non-Clustered Index
3.can we use query like this "Select * from Table1,Table2;"

Answer Posted / koushik roy

1. A table can only have one primary key.
2. Answer #1 is right. To add it, primary key is clustered
index and when we index a column (non-primary key) it is
non-clustered index.
3. Yes this will act almost as OUTER join

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by normalisation?

681


Benefits of Stored Procedures?

724


What is the standby server?

682


What is the ‘fillfactor’?

731


In one interview...interviewer ask me question pleas tell me sql server architecture.. can any body tell me the sql server architecture with digram

1716






What is shrink log file?

655


What are the restrictions that views have to follow?

725


What options are available to audit login activity? : sql server security

832


How to view the error log for any specific instance? : sql server database administration

773


What is raid, and how it can influence database performance?

765


When is update_statistics command used?

773


What are sub reports and how to create them?

113


What is the data type of time?

691


what is a self join? Explain it with an example? : Sql server database administration

651


What are the ways available in sql server to execute sql statements?

777