Created
September 16, 2011 07:39
-
-
Save ghiboz/1221464 to your computer and use it in GitHub Desktop.
SQL: togliere autoincrement
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- attivo l'identity manuale | |
SET IDENTITY_INSERT dtBtc ON | |
-- inserisco | |
insert into dtBtc (pBtc, sBtc, pBtcStt) | |
values ( 0, '...', 0 ) | |
-- tolgo l'identity manuale | |
SET IDENTITY_INSERT dtBtc OFF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment