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
;[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
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
Im having a problem wiht creating a db in MSSQL, Ive only used Mysql
be for so I tryed the syntax just the same way.
Im 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)
4 matches
Mail list logo