Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

resetting identity column value back to 1

$
0
0

Hi ,

In my DWH dimension table, I am using "identity key" (with (1,1) value) for the CustomerKey column.

Now I have this dimension loaded. But I did som delete operation on this dimension. So, now final look of this dimension's CustomerKey (which is identity) column is , it is starting from for ex., 320. 321, 322, 323,......so on.,,

Now, Can I reset this back so that it looks like again 1,2,3,4,5,......sequence no.

I am using SQL 2012.

Thanks


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>