1

Currently i am trying to reset an identity column in my MS access database by using following command but it is not working.

DBCC CHECKIDENT('my_table', RESEED, 1)

Error Message :

Invalid SQL Statement ; expected "Delete","insert","procedure","select" or "update"

How to fix it ?

Luke Wage
  • 693
  • 4
  • 13
raaz
  • 12,410
  • 22
  • 64
  • 81

1 Answers1

2

CHECKIDENT works on SQL Server only. Here is a link to an explanation how to do it in Access: How to restart counting from 1 after erasing table in MS Access?

Community
  • 1
  • 1
Luke Wage
  • 693
  • 4
  • 13