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

Insert Auto Incremented Values in Primary Key Field

$
0
0

Hi ALL ,

I have a customer table with 3 fields CustomerID , Customer First Name and Customer Last Name .

It already contains some data the Customer ID is a primary key and i need to insert some records into it from another table

but problem is i need to auto increment the Customer ID field . kindly help me how can i auto increment the primary key field with inserts.

Thanks


Viewing all articles
Browse latest Browse all 23857

Trending Articles