I've only done this in SQL, and not even show my code is right for SQL. I'm trying to wipe out value in a field so it is empty. I wrote this:
Code:
BEGIN TRANSACTION
update DSNP.PR01_T_USER_TRAN
set user_q_cd = NUll
where user_id_cd = 3881
and user_tran_cd = 'PR41'
ROLLBACK TRANSACTION
Does this look right? It fails with an error
An EXECUTE IMMEDIATE statement contains a SELECT or VALUES statement.
Thanks.