is there more the two primary key in a single table?
Answer Posted / murugavel
yes
CREATE TABLE "accessmenu" (
"UID" int(11) NOT NULL DEFAULT '0',
"MID" int(11) NOT NULL DEFAULT '0',
"AlterPermission" tinyint(4) DEFAULT '0',
PRIMARY KEY ("UID","MID")
);
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
How to manipulate data from one table to another table ?
How to verify a login name with sqlcmd tool?
What functions can a view be used to performed?
What are dml (data manipulation language) statements in ms sql server?
How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.
What is key set driven?
Is truncate a dml command?
Explain about nested stored procedure?
How to delete duplicate rows in sql server?
How to check parameter value in stored procedure sql server?
How to defragment table indexes?
Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?
What are the results of running this script?
Once setting replication, can you have distributor on sql server 2005, publisher of sql server 2008?
What are diverse clauses that form a part of sql?