Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

connect with pyodbc with statement

with pyodbc.connect(conx_string) as conx:
    cursor = conx.cursor()
    cursor.execute(query)
    data = cursor.fetchall()    
Source by nbviewer.jupyter.org #
 
PREVIOUS NEXT
Tagged: #connect #pyodbc #statement
ADD COMMENT
Topic
Name
4+3 =