Can a table have two primary keys?
Answer Posted / hari
no. a table can have only one primary key.some times table
can use composite primary key
ex create table std
(stdid bigint(10) not null,
e mailid varchar(20) not null);
primary key(stdid,e mailid)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is duration in sql profiler trace?
Can we rollback delete command?
how can you create an empty table from an existing table? : Sql dba
What is normalization in a database?
Why is sql*loader direct path so fast?
What is Materialized View? In What Scenario we Use Materialized View?
What is structural independence and why is it important?
What is data type in database?
When do we use triggers?
What is the difference between a primary key and a clustered index?
Define concurrency control. : Transact sql
What does trigger mean in slang?
Is sql free?
how to calculate the difference between two dates? : Sql dba
Does mysql_real_escape_string prevent sql injection?