I try to execute a simple sql task with variable, so I create my variable and into it I insert delete statement like:
DELETE FROM fiscal_cxp WHERE EMPRESA = '"+@[User::cia]+"'
but when I try to evaluate expression I get an issue:

I review query several times but I dont find nothing wrong. Can someone knows what is wrong there? Regards
You're missing the opening and closing quotes:
"DELETE FROM fiscal_cxp WHERE EMPRESA = '" + @[User::cia] + "'"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With