sandy1028 Posted July 24, 2009 Share Posted July 24, 2009 Hi, I have created a table which has 3 fields and one field named 'id' is auto increment filed. How to write the insert statement. Link to comment https://forums.phpfreaks.com/topic/167252-insert-statement/ Share on other sites More sharing options...
kickstart Posted July 24, 2009 Share Posted July 24, 2009 Hi I normally specify the auto increment field as NULL:- INSERT INTO SomeTable (Id, Field1, Field2, Field3) VALUES (NULL, 'Field 1 value', 'Field 2 Value', 'Field 3 Value') All the best Keith Link to comment https://forums.phpfreaks.com/topic/167252-insert-statement/#findComment-881855 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.