Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

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
Post Details
Added on Mar 17 2021
2 comments
5,586 views