Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to print the SQL query along with the output in Python CX_ORACLE module

nm_012-OracleMar 17 2021

Hi,
I was trying CX_ORACLE module in PYTHON and my first python script with 'select name from v$database' query was successful.
However, i want both the query as well as the output to be displayed instead of only the query output.
how to achieve this?

thanks
Naveen

Comments

Processing

Post Details

Added on Mar 17 2021
2 comments
7,412 views