Insert Into @table with Identity Column
JimF
Posts: 49 Bronze 3
Hello,
SQL Prompt (at least 7.1.0.44) does not recognize an Identity column in a declared table when using "Insert Into".
SQL Prompt (at least 7.1.0.44) does not recognize an Identity column in a declared table when using "Insert Into".
Declare @WorkContestNew table ( Id int Identity Primary Key, NewContestId int Not Null ) -- Insert Into gives me this... Insert Into @WorkContestNew ( Id, NewContestId ) Values ( 0, -- Id - int 0 -- NewContestId - int ) -- When I expect this... Insert Into @WorkContestNew ( NewContestId ) Values ( 0 -- NewContestId - int )
Comments
This should now be fixed in the latest beta (7.1.0.188), please let us know if you have any issues on the latest build.
Thanks,
Aaron.