Forum Stats

  • 3,760,159 Users
  • 2,251,655 Discussions
  • 7,871,004 Comments

Discussions

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

nm_012-Oracle
nm_012-Oracle Member Posts: 3 Employee

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

Answers