what is the different between unique+not null & primary key,

Answer Posted / sreekumar

In a relation, we can create only one primary key where as we can create multiple unique+not null constrains.

Primary key uses clustered index where are unique +Not null uses non clustered index.

Sreekumar

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to disable a trigger name update_salary?

667


how to rename an existing column in a table? : Sql dba

504


What is a Mapplet?

638


What does count (*) do in sql?

516


What is java sql drivermanager?

539






what are string data types? : Sql dba

505


What is the difference between join and natural join?

468


Does execute immediate commit?

688


What is normalization? How many normalization forms are there?

548


What is difference between left and right outer join?

511


What is the sql case statement?

568


How do you clear the screen in sql?

595


a table has 2 classifications 1)liabilities 2)earnings this liabitity has 2 elements with 2 input values and the earnings have 2 elements with 2 input values i wrote a query so that my input is liability savings amount1 amount2 xxxx null xxxxxx 0 xxx1 null xxxxx1 0 null yyyy 0 yyyy null yyy1 0 yyy1 my problem is --when i developed a report(d2k) with this data my o/p is liabilities,amount1,savings,amount2 xxxx xxxxxx xxx1 xxxxx1 yyyy yyyy yyy1 yyy1 how could i move this savings,savings values 2 palces up. can any body provide me witha better solution

1767


What is sqlca in db2?

525


what are the 'mysql' command line options? : Sql dba

547