Can a table have two primary keys?
Answer Posted / kumar navdeep shanker
Ya, it is possible..
try with this Query..
create table cust11
(
cno int not null,
balance int not null,
cname varchar(10),
CONSTRAINT cust primary key (
cno,balance)
)
If there is any Problem.. plz reply
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is data type in sql?
What is localdb mssqllocaldb?
what is the use of friend function? : Sql dba
What is the purpose of the primary key?
How to create a menu in sqlplus or pl/sql?
Can I call a procedure inside a function?
how to convert character strings to dates? : Sql dba
what are all the different normalizations? : Sql dba
What is a database? Explain
What does subquery mean in sql?
Why we use stored procedure instead of query?
What is mdf ldf and ndf?
How do I count rows in sql?
Why cannot I use bind variables in ddl/scl statements in dynamic sql?
what is query cache in mysql? : Sql dba