I'm trying to reference my new variable from dynamic sql.
If I try select :NEW.zh_naam into v_var from dual;, and I print out my variable, averything works perfectly.
But when I try to use dynamic sql, like this execute immediate('select :NEW.zh_naam from dual') into v_var, I get an error message ORA-01008: not all variables bound.
Is there any work around for this problem?