freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] SQLDescribeColumn and tds_next_placeholders_ucs2le
- From: Vlad <vlad AT rmcs.com.au>
- To: freetds AT lists.ibiblio.org
- Subject: RE: [freetds] SQLDescribeColumn and tds_next_placeholders_ucs2le
- Date: Mon, 22 Mar 2004 12:26:26 +1100
> I think it's SQLDescribeCol. SQLDescribeCol do not return the char
> representation, it return type length, so 16 it right. You should use
> SQLColAttribute(SQL_DESC_DISPLAY_SIZE) to get display size.
>
Thanks for a tip with SQLColAttribute. Really the reason I wrote about
SQLDescribeCol is that if I run my program under DOS with MS version of
ODBC SQLDescribeCol it returns column size 36. It is just a little
confusing about which function is right to use.
> Fixed in CVS. A problem with " termination.
Thanks a lot!!! It works fine now :)
Vlad
-
[freetds] SQLDescribeColumn and tds_next_placeholders_ucs2le,
Vlad, 03/18/2004
- <Possible follow-up(s)>
- RE: [freetds] SQLDescribeColumn and tds_next_placeholders_ucs2le, ZIGLIO, Frediano, VF-IT, 03/19/2004
- RE: [freetds] SQLDescribeColumn and tds_next_placeholders_ucs2le, Vlad, 03/21/2004
- RE: [freetds] SQLDescribeColumn and tds_next_placeholders_ucs2le, ZIGLIO, Frediano, VF-IT, 03/22/2004
Archive powered by MHonArc 2.6.24.