My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 402: Crash when Null is cast as decimal
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by spradha...@gmail.com, Jul 22, 2015
What steps will reproduce the problem?
import pyodbc

    conn = pyodbc.connect("dsn=ms_2005;UID=scott;PWD=tiger")

    cursor = conn.cursor()
    cursor.execute("select cast(null as decimal)")
    print cursor.fetchall()

What version of the product are you using? On what operating system?
Run on Red Hat Enterprise Linux 6

Please provide any additional information below.


Jul 22, 2015
#1 spradha...@gmail.com
FreeTDS64 Driver
TDS Version 8.0

Edit to original issue:

conn = pyodbc.connect("DRIVER={FreeTDS64};TDS_Version=8.0;...")

Powered by Google Project Hosting