Re: [PHP] MSSQL help w/ auto_increment

2002-04-23 Thread Miguel Cruz
Unfortunately there is a lot of variation from one RDBMS' SQL implementation to another. Try something like this: create table test ( news_id int identity, title varchar(50), blah blah... miguel > - Original Message - > From: "David Orn Johannsson" <[EMAIL PROTECTED]> > To: <[EMAI

Re: [PHP] MSSQL help w/ auto_increment

2002-04-23 Thread Geoff Hankerson
I believe the auto increment field has to be set as the primary key as well. - Original Message - From: "David Orn Johannsson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 10:04 AM Subject: [PHP] MSSQL help w/ auto_increment I'm having a problem wiht creatin