I have some python code that looks like this
import pypyodbc import pandas as pd home=\"c:/SQL/\" df = pd.read_sql_query(sql4, conn3 for y1 in range(0 , k):
In this case the correct Update statement is:
cursor.execute("""UPDATE ENCOMPASS_DIA SET CTIME=? WHERE SERNUM=?""", (SSTIME,ARCHIVE_SERNUM ))