Floodster
Technical User
- Jan 28, 2005
- 204
Hi Guys,
I've been spending the weekend converting my site from .ASP & Access to .ASP & MySql. I have used the MySql Migration kit for my database & tables but I'm having a few problems.
I have a table which consists of ID, surname & forename. The ID was an autonumber in access & the other 2 columns were text.
I have just tried a simple INSERT query using MySql & I'm getting an error of "Field ID doesn't have a default value"
My syntax was;
can anybody help??
I've been spending the weekend converting my site from .ASP & Access to .ASP & MySql. I have used the MySql Migration kit for my database & tables but I'm having a few problems.
I have a table which consists of ID, surname & forename. The ID was an autonumber in access & the other 2 columns were text.
I have just tried a simple INSERT query using MySql & I'm getting an error of "Field ID doesn't have a default value"
My syntax was;
Code:
INSERT into tbl_members (forename, surname) VALUE ('any', 'body');
can anybody help??