I’m confused by this syntax error I keep getting when I try to execute:
DBCC CHECKIDENT('database', RESEED, 1)
In PHPMyAdmin…
Error:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DBCC CHECKIDENT('database', RESEED, 1)' at line 1
The result looks like this

DBCC CHECKIDENT('table', RESEED, 1)is for SQL Server.Use
alter table ... auto_incrementinstead. http://dev.mysql.com/doc/refman/5.0/en/alter-table.html