title: pandas to_sql for MS SQL
body: <p>I'm trying to save a dataframe to MS SQL that uses Windows authentication. I've tried using <code>engine</code>, <code>engine.connect()</code>, <code>engine.raw_connection()</code> and they all throw up errors:
  <code>'Engine' object has no attribute 'cursor'</code>, <code>'Connection' object has no attribute 'cursor'</code>, and <code>Execution failed on sql 'SELECT name FROM sqlite_master WHERE type='table' AND name=?;': ...</code> respectively.</p>
  
  <pre><code>params = urllib.parse.quote('DRIVER={ODBC Driver 13 for SQL Server};'
                             'SERVER=server;'
                             'DATABASE=db;'
                             'TRUSTED_CONNECTION=Yes;')
  
  engine = create_engine('mssql+pyodbc:///?odbc_connect=%s' % params)
  
  df.to_sql(table_name,engine, index=False)
  </code></pre>