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

Inserting value in the single column table where the only column is a identity column

$
0
0

Hi,

Following is my table definition:

create table test1 (col1 int primary key identity(1,1))

Now here, the only column col1 in the table is an identity column. Now I want to add explicit values to this columnwithout SET Identity_Insert test1 On.

How?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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