Skip to content
Advertisement

SQL execute block using update

I am trying to perform an execute block using an update. However I am getting an error.

The SQL shown here is similar to the real problem, but the update is much more complex. I need to use every declared cust_id into the update block.

How can I accomplish that?

Advertisement

Answer

you cannot use do begin after our update statement

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement