Hello
Does anybody know what is wrong with this:
It comes back with Incorrect syntax near ','.
The error lies with the identity(int,1,1) part
Is this part right?
Any thoughts how to correct it, am I misusing identity?
This field should just auto-increment
Thanks
damian.
Does anybody know what is wrong with this:
Code:
insert into PAP03_TEST.dbo.holdslines
select identity(int,1,1), substring(sa.holdslinesid, 2, 20) from sanalysis sa
It comes back with Incorrect syntax near ','.
The error lies with the identity(int,1,1) part
Is this part right?
Any thoughts how to correct it, am I misusing identity?
This field should just auto-increment
Thanks
damian.