By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,586 Members | 2,347 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,586 IT Pros & Developers. It's quick & easy.

Primary Key

P: n/a
Is it possible one table having more than one key as a primary key?
Jun 28 '07 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
Is it possible one table having more than one key as a primary key?
Expand|Select|Wrap|Line Numbers
  1. alter table tableName add constraint pk_tableName PRIMARY KEY (column1, column2)
Jun 28 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.