A
Anonymous
Guest
Im working with an SQL database and PHP. I'm having problems inserting data into fields that are auto increment. What I would do when working with mysql, is something like: insert into tablename values ('', 'field1', 'field2');
where the initial '' is for the auto increment field. When I do this with mssql, it tells me I cannot insert NULL values. Why doesnt this work. Included is a screen shot of the column that should be auto increment.
where the initial '' is for the auto increment field. When I do this with mssql, it tells me I cannot insert NULL values. Why doesnt this work. Included is a screen shot of the column that should be auto increment.