A
Aaron Bertrand - MVP
Does anybody have any good articles or tips on how to do a insert when you
You don't mention that column, because you aren't supposed to be supplying a
value to it. Let's say your table is:
Table:
foo
Columns:
ID (AutoIncrement)
Name (text(32))
Active (int)
Your insert statement would be:
INSERT foo(Name, Active) VALUES('blat', 1)
have a primary key that is auto increment?
You don't mention that column, because you aren't supposed to be supplying a
value to it. Let's say your table is:
Table:
foo
Columns:
ID (AutoIncrement)
Name (text(32))
Active (int)
Your insert statement would be:
INSERT foo(Name, Active) VALUES('blat', 1)