ODBC - Client

Card Puncher Data Processing

Client

Application

Python pyodbc library

See mkleehammer/pyodbc/wiki

  • Python Script
python -c myPythonScript.py
import pyodbc

# Connect String 
cnxn = pyodbc.connect('DRIVER={SQL Server};SERVER=SQLSRV01;DATABASE=DATABASE;UID=USER;PWD=PASSWORD')
# Oracle: 'DRIVER=MyOracle;DBQ=x.x.x.x:1521/orcl;UID=myuid;PWD=mypwd'))

# Retrieve the cursor
cursor = cnxn.cursor()
cursor.execute("SELECT ***")
for row in cursor.fetchall():
    print row





Discover More
Bi Server Architecture With Client
OBIEE - BI Server Clients (ODBC, JDBC)

The Open interface of BI Server gives the possibilities to made a client connection throught ODBC and JDBC. Clients of the Oracle BI Server see a logical schema view independent of the source physical...
Card Puncher Data Processing
unixODBC - isql

An unixODBC client where Options: -b: batch.(no prompting etc) -dx: delimit columns with x -x0xXX delimit columns with XX, where: x is in hex, ie 0x09 is tab -w: wrap results in...



Share this page:
Follow us:
Task Runner