'Must declare the scalar variable "@0" error come during INSERT query in SSMS V18.10
I am getting this error while executing INSERT query which is generated from sequelize.
INSERT INTO [table_name] ([fname], [lname], [userid], [createdAt],[updatedAt], [version])
OUTPUT INSERTED.[id], INSERTED.[fname], INSERTED.[lname], INSERTED.[userid], INSERTED.[createdAt], INSERTED.[updatedAt], INSERTED.[version]
VALUES (@0, @1, @2, @3, @4, @5, @6);
{"0":"1","1":"revti","2":"paggi","3":"4","4":2022-04-23 11:14:06.781 +00:00","5":"2022-04-23 11:14:06.781 +00:00","6":0}
I am new to SSMS, can you please help?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
