AW: [PHP] MSSQL help w/ auto_increment

2002-04-23 Thread Red Wingate
Try : news_id int(11) auto_increment -Ursprüngliche Nachricht- Von: Miguel Cruz [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. April 2002 5:16 PM An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: [PHP] MSSQL help w/ auto_increment Unfortunately there is a lot of variation

Re: [PHP] MSSQL help w/ auto_increment

2002-04-23 Thread Miguel Cruz
;[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 creating a db in MSSQL, I've only used Mysql > be for so I tryed the syntax just the sam

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&#

[PHP] MSSQL help w/ auto_increment

2002-04-23 Thread David Orn Johannsson
I’m having a problem wiht creating a db in MSSQL, I’ve only used Mysql be for so I tryed the syntax just the same way. I’m trying to execute this code: create table test ( news_id int not null auto_increment , title varchar(50) not null , ndate varchar(50) not null , headline varchar(150)