title: Retrieving SQL Server data using pyodbc is returning unexpected data values
body: <p>I am learning Python and have written some code to retrieve data from a SQL Server table. The code is as follows:</p>
  <pre><code>import pyodbc
  
  connection = pyodbc.connect(&quot;Driver={SQL Server Native Client 11.0};&quot;
  &quot;Server=xxx&quot;
  &quot;Database=xxx&quot;
  &quot;uid=xxx&quot;
  &quot;pwd=xxx&quot;
  )
  
  cursor = connection.cursor()
  cursor.execute('SELECT * FROM Dealers')
  
  for row in cursor:
  print(list(row))
  </code></pre>
  <p>This code works fine but the output, for some data types isn't what I expected. For example, I have a line of output that looks like this:</p>
  <pre><code>Decimal('0.000'), Decimal('83.360'), True, True, Decimal('0.000'), datetime.date(2017, 5, 31), True, 1, True, True, datetime.datetime(2017, 5, 31, 18, 28, 57, 686666)
  </code></pre>
  <p>Instead of something like Decimal('83.360'), how do I simply get 83.360? Same for the date/time values?</p>