You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-pymssql/src/opentelemetry/instrumentation/pymssql/__init__.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,8 @@
30
30
31
31
cnx = pymssql.connect(database="MSSQL_Database")
32
32
cursor = cnx.cursor()
33
-
cursor.execute("INSERT INTO test (testField) VALUES (123)"
33
+
cursor.execute("CREATE TABLE IF NOT EXISTS test (testField INTEGER)")
34
+
cursor.execute("INSERT INTO test (testField) VALUES (123)")
0 commit comments