|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Two Primary Keys
From: Victor Subervi (victorsubervi
gmail.com)
Date: Tue Jun 29 2010 - 08:24:58 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi;
I have the following:
create table pics (
picture_id int auto_increment primary key,
product_sku int not null primary key,
picture_num int not null,
picture_desc varchar(100),
picture_data longblob
);
which doesn't work I need to auto_increment and declare primary key on two
fields. How do?
TIA,
Victor
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]