Hello,
I try to put data to SQL table by following query:
SET IDENTITY_INSERT CCI ON
EXEC sp_dbcmptlevel CCI, 90
INSERT INTO CCI (id_in_table, Quest1, Quest2, Quest3, Quest4, Quest5, Quest6, Quest7, Ans1, Ans2, Ans3, Ans4, Ans5, Ans6, Ans7,ModifiedBy,ModDate,PSR)
VALUES ({ItemProperty:ID},Tex1,Text2.....Text7,3.5,4,5,4.4, 5, 4.1, 5,'{WorkflowVariable:Author}',{ItemProperty:Modified},'{WorkflowVariable:InterimName}')
SET IDENTITY_INSERT CCI OFF
And got error:
The execution returned an unexpected error.
Incorrect syntax near 'ItemProperty:'.
The label 'ItemProperty' has already been declared. Label names must be unique within a query batch or stored procedure.
What's wrong?