Issue while using large Anonymous block #37
Replies: 1 comment 2 replies
-
I'm not sure why you are using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While using large Oracle PL/SQL anonymous block ( around 20,147 characters ). I've saved this block inside one independent .sql file. This .sql content I'm assigning to one variable and that variable I'm using in:
mCmd = "cursor.execute(vQuery1)"
exec(mCmd)
While executing the .py file I'm receiving below error:
Traceback (most recent call last):
File "/home/chanduraankit/deliverable/devl/bin/./test.py", line 83, in <module>
exec(mCmd)
File "<string>", line 1, in <module>
cx_Oracle.DatabaseError: ORA-00972: identifier is too long
Anonymous PL/SQL block is executing properly on Oracle Session using Oracle tool.
Can you please help identifying what is the issue here?
Thanks,
Ankit.
Beta Was this translation helpful? Give feedback.
All reactions