CData Python Connector for Oracle Sales

Build 20.0.7745

Connecting

Connecting with the cdata.oraclesalescloud Module:

The connector's module is used directly to establish a connection with the data source. It is able to take a connection string as its argument, as in the below example:

import cdata.oraclesalescloud as mod
conn = mod.connect("HostURL=https://my.host.oraclecloud.com; Username=abc123; Password=abcdef;")
cur = conn.cursor()

Once the connection is created, you can execute subsequent SQL queries using the connection's cursor object.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 20.0.7745