title: pyodbc column name as variable
body: <p>Instead of editing the sql-string when i want to change which column to write to i want to use a variable.. This seems to work. I get no error, but the database is not updated... What is wrong with this?</p>
  
  <pre><code>cnxn = pyodbc.connect('DRIVER=FreeTDS;SERVER=dkvmsql08;PORT=1433;DATABASE=dingdong_test;UID=dac\svc-dingdong;PWD=c90346KJHjkhg&amp;%dad742210a3d6fd4436c;T$
  cur = cnxn.cursor()
  
  name = Dennis
  cur.execute("UPDATE dbo.timestamp  set cur.execute("UPDATE dbo.test  set ?=1 where id=?",name, row.id)
  </code></pre>