467,202 Members | 1,027 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,202 developers. It's quick & easy.

Primary Key

Is it possible one table having more than one key as a primary key?
Jun 28 '07 #1
  • viewed: 904
Share:
1 Reply
8TB
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.

Similar topics

6 posts views Thread by John Simmons | last post: by
5 posts views Thread by Ghulam Farid | last post: by
9 posts views Thread by 101 | last post: by
5 posts views Thread by shenanwei@gmail.com | last post: by
18 posts views Thread by Thomas A. Anderson | last post: by
4 posts views Thread by Peter | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.