Answers for "Oracle connection"

0

Oracle connection

with pool.acquire() as connection:
    cursor = connection.cursor()
    for result in cursor.execute(
             """select sys_context('userenv','sid') from dual"""):
        print(result)
Posted by: Guest on April-26-2022
0

Oracle connection

pool = cx_Oracle.SessionPool("username", pw, 
                  "localhost/orclpdb1", min=0, max=4, increment=1)
Posted by: Guest on April-26-2022

Browse Popular Code Answers by Language