AutoNumber Issues
I am trying to write an SQL statement to create a column that I want to auto increment with each row entry in to the database. I execute the SQL statement CREATE TABLE states (stateID int NOT NULL AUTO_INCREMENT,
stateName varchar (50),
stateAbbr varchar (2))
I get the error message, "Syntax error: Encountered "AutoIncrement" at line 3, column 22. How do I create a variable that auto increments?
