Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
DECLARE parm = 'Hello'; EXECUTE IMMEDIATE 'SELECT :parm' USING parm; [ALL_PARAMETERS_MUST_BE_NAMED] Using name parameterized queries requires all parameters to be named. Parameters missing names: "parm". SQLSTATE: 07001 EXECUTE IMMEDIATE 'SELECT :parm' USING parm AS parm; Hello
variables are like column references, they act as their own aliases and thus should not be required to be named to associate with a named parameter with the same name.
Note that unlike for pySpark this should be case insensitive (haven't verified).
Attachments
Issue Links
- links to