freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Vadym Kononenko <vkononenko AT atlantic-link.com.ua>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: [freetds] libdbi driver, some questions
- Date: Tue, 23 Aug 2005 12:25:08 +0300
Hi, all.
Could you say me how can I use direct acces to TDS struct without internal
headers files. At this moment I use "ctlib.h" for access to:
1. (ctx->tds_ctx->locale->date_fmt) set data format.
2. (conn->tds_socket->s) - get socket descriptor.
3. (conn->tds_login->client_charset)
and
(conn->tds_login->server_charset)
get charset coding
But this header not installed to /usr/include directory.
4. Should I free memory after call "ct_fetch()" function?
5. When I sent "EXEC sp_tables" query to server I received'nt tables list. I
receive 23 time database name. But through network sniffer I see that all
tables list are received. And number of tables are 23.
6. How can I get real length of received data? "datafmt.maxlength" show
buffer
size.
7. And how can I convert MONEY and DATATYPE types to othet formats?
libdbi use "time_t" format for date and have not money types...
--
Best regards.
Vadym Kononenko.
Kyiv, Ukraine
-
[freetds] libdbi driver, some questions,
Vadym Kononenko, 08/23/2005
- Re: [freetds] libdbi driver, some questions, Vadym Kononenko, 08/25/2005
- <Possible follow-up(s)>
-
Re: [freetds] libdbi driver, some questions,
Lowden, James K, 08/25/2005
- Re: [freetds] libdbi driver, some questions, Vadym Kononenko, 08/25/2005
- Re: [freetds] libdbi driver, some questions, ZIGLIO, Frediano, VF-IT, 08/25/2005
Archive powered by MHonArc 2.6.24.