Re: Q: Buffer size for SQL_DOUBLE to SQL_C_CHAR conversion

Поиск
Список
Период
Сортировка
От Dmitriy Ivanov
Тема Re: Q: Buffer size for SQL_DOUBLE to SQL_C_CHAR conversion
Дата
Msg-id ef02oq$1e31$1@news.hub.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Access Violation in VC++ 2005
Следующее
От: "Dmitriy Ivanov"
Дата:
Сообщение: Q: How to exclude system columns from the result of SQLColumns()?