I want to do bulk update from my python code to mssql DB. Im using pyodbc 4.0.26 version. What is the best way to do update in bulk? My cursor object lists only 'execute' method. I don't see any other methods. I want to scan db for few hundreds records for existing records and do update quickly
cnxn = pyodbc.connect('DRIVER=ODBC Driver 17 for SQL Server;'
'SERVER='+server+';DATABASE='+database+';UID='+username+';PWD='+ password)
cursor = cnxn.cursor()