Feb-23-2021, 10:41 PM
Hey Larz so my original code works. My question is I don't really understand why we need the strings in the connection setup here unless for some reason we had planned to print this at some point in time? I did try removing them but if I do the connection doesn't work. Is the azure server needing this for the connection string?
with pyodbc.connect( "DRIVER=" + driver + ";SERVER=" + azureServer + ";PORT=1433;DATABASE=" + azureDB + ";UID=" + userName + ";PWD=" + password)