Hey, I am using iBATIS with SQL Server Compact Edition 3.5 and try to do a subselect
INSERT INTO FORMINSTANCE (ID, ID_FORM)
SELECT #ID#, f.ID
FROM FORM f
WHERE ID_PROCESS='10804'
When I commit the transaction I get an SqlCeException
(SSCE_M_QP_PARAMETERNOTALLOWED
).
That the Symbol '@
' is on the wrong place. I think this is the #ID# which is unpredicted in SELECT
. #ID# is not the name of the column, it's the value that should be inserted into FORMINSTANCE How can i fix this?
ty