update : 11.03.2025 10:59:16,81
This commit is contained in:
parent
4de3e82542
commit
95ee5e9c44
4
start.py
4
start.py
@ -171,7 +171,7 @@ def test_edds():
|
||||
PASSWORD = "09!_poklnmAb"
|
||||
|
||||
connectionString = (
|
||||
"DRIVER={%s};SERVER=%s;UID=%s;PWD=%s;TrustServerCertificate=yes;"
|
||||
"DRIVER={%s};SERVER=%s;UID=%s;PWD=%s;TrustServerCertificate=yes;Mars_Connection=yes;"
|
||||
% (DRIVER, SERVER, USERNAME, PASSWORD)
|
||||
)
|
||||
conn = pyodbc.connect(connectionString)
|
||||
@ -179,7 +179,7 @@ def test_edds():
|
||||
mssql.executeSQL(conn, "USE [dbmon]")
|
||||
|
||||
|
||||
SQL_QUERY = r"exec UpdateObjectStatus"
|
||||
SQL_QUERY = r"exec UpdateObjectStatus"
|
||||
cursor = mssql.executeSQL(conn, SQL_QUERY)
|
||||
|
||||
SQL_QUERY = """
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user