Good day!
There are variables in the script code:
HOST = '127.0.0.1' DBASE = 'disp' USER = 'cpps' PASS = '123' How can I pass variable values to a procedure?
This option does not work
conn = pyodbc.connect("DRIVER={SQL Server};SERVER=HOST;UID=cpps;PWD=123;DATABASE=disp") This also works on
conn = pyodbc.connect("DRIVER={SQL Server};SERVER=$HOST;UID=cpps;PWD=123;DATABASE=disp") thank