Skip site navigation (1) Skip section navigation (2)

Re: Q: Buffer size for SQL_DOUBLE to SQL_C_CHAR conversion

From: "Dmitriy Ivanov" <divanov-NOSP(at)M-aha(dot)ru>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Q: Buffer size for SQL_DOUBLE to SQL_C_CHAR conversion
Date: 2006-09-22 05:43:43
Message-ID: ef02oq$1e31$1@news.hub.org (view raw or flat)
Thread:
Lists: pgsql-odbc
I  wrote:

DI> |...snip...|
DI> This length is exceeds 15, the decimal precision returned by
DI> SQLGetTypeInfo(hstmt,SQL_DOUBLE).
DI>
DI> What is the maximum size of the character buffer I have to
DI> allocate?

After diving into MSDN, just answering myself: the display size should come
to play.
Sorry for the noise.
--
Sincerely,
Dmitriy Ivanov
Common Lisp ODBC interface - lisp.ystok.ru/ysql.html




pgsql-odbc by date

Next:From: Dmitriy IvanovDate: 2006-09-22 08:50:37
Subject: Q: How to exclude system columns from the result of SQLColumns()?
Previous:From: Hiroshi InoueDate: 2006-09-22 00:43:23
Subject: Re: Access Violation in VC++ 2005

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group