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

Auto Increment Value

$
0
0

Hi, 

I have an issue that I need to resolve. I have a table that uses an auto increment value for the primary key.

I need to insert a couple rows into this table, but I need to enter a specific value for the primary key.

During maintenance when the server comes offline for a couple mins, I would like to see if I can disable the server protection from  this, and let me manually insert a couple rows with specific primary key values. I know it's not normally possible, but this needs to be done to fix a couple rows.

Is there anyway if I log in as the server administrator I can disable this and force the database to allow me to enter this custom value?

I know what I need to do in this case, but the server won't allow me to make the change.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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