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 are the important architecture components of SSRS?

98


Explain activity monitors

706


What is extended stored procedures?

641


How does stuff differ from the replace function?

642


How adventureworkslt tables are related?

605






Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

629


What is command parameter in ssrs?

130


What is difference between inner join and full join?

662


Explain system scalar functions?

664


What is difference between commit and rollback when used in transactions?

576


What are the differences between DDL, DML and DCL in SQL?

839


What is the full form of ddl?

588


How to insert multiple rows with a subquery?

626


What is faster join or union?

710


How to test a dml trigger in ms sql server?

666