Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
plsql developer in python
#1
I have the problem with my script. The script works good, but not for big script. I would like to use big SQL script with left join , inner join and etc. but after this script does not work. Why Can you help me, What I have to change in script or What script can i use? Thank you so much

import cx_Oracle

connection=cx_Oracle.connect("dw1","dw2","//local1/DW3")
cursor=connection.cursor()
rs = cursor.execute("select*from tab t where t.date)>'1.12.2023'")

for row in rs:
    print(row)
    
%load_ext sql
%sql oracle+cx_oracle://dw1:dw2@local/?service_name=DW3
        
%sql select*from tab t where t.number=1 
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu: Error installing watson-developer-cloud Python module gio123 3 4,411 Mar-15-2018, 09:39 PM
Last Post: gio123

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020