10

I found a lot of topics telling to use :

DBCC CHECKIDENT ('table', RESEED, 0) 

But this is not supported by Azure SQL. Does somebody have any idea on how to do it easily ?
Thanks a lot !

1

2 Answers 2

6

DBCC CHECKIDENT is not supported for now in SQL Azure as you commented.

Check this MSDN forum post, there are some solutions proposals, maybe one of them can help you out.

Sign up to request clarification or add additional context in comments.

1 Comment

The set identity_insert … on|off statements helped me out just fine, thanks!
5

You don't have too many options... the only one I can think of is to drop and recreate your table.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.