freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] Column types reported from SQL Server 1008
- From: Steve Teale <steve.teale AT britseyeview.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] Column types reported from SQL Server 1008
- Date: Fri, 18 Nov 2011 12:58:14 +0300
I have test table 'basetest' in SQLExpress 2008 that has a variety of
columns for test purposes. I created it in MS Server Management Studio.
I have 2 columns that the SMS shows as bigint, a time(7) column, and a
date column among others.
I created a single row using SMS.
I connect to the server, and use SQLExecuteDirect to do "select * from
dbo.basetest". Then using the same statement handle, I call
SQLDescribeCol() and SQLColAttribute() for SQL_DESC_TYPE_NAME.
The type for the bigint columns comes back as 8 (SQL_DOUBLE), and the
type name correspondingly as 'float'. The time and date columns are
reported as 12 (SQL_VARCHAR) and 'varchar'.
All the other reported types and names make sense.
My freetds.conf file has the protocol version as 8.0.
What am I missing?
Steve
-
[freetds] Column types reported from SQL Server 1008,
Steve Teale, 11/18/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
James K. Lowden, 11/19/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
Steve Teale, 11/19/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
James K. Lowden, 11/19/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
Steve Teale, 11/19/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
Ken Collins, 11/19/2011
- Re: [freetds] Column types reported from SQL Server 1008, Steve Teale, 11/20/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
Steve Teale, 11/22/2011
- Re: [freetds] Column types reported from SQL Server 1008, Ken Collins, 11/22/2011
- Re: [freetds] Column types reported from SQL Server 1008, Randy Syring, 11/22/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
Ken Collins, 11/19/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
Steve Teale, 11/19/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
James K. Lowden, 11/19/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
Steve Teale, 11/19/2011
- Re: [freetds] Column types reported from SQL Server 1008, Frediano Ziglio, 11/20/2011
-
Re: [freetds] Column types reported from SQL Server 1008,
James K. Lowden, 11/19/2011
Archive powered by MHonArc 2.6.24.