Sybase Univarchars

Brad Wery <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hello,

I was hoping someone could point me in the right direction. I'm trying to
use the ODBC driver that comes with FreeTDS.

Some parts of my application isn't designed to work with Binary data types.
Although, it should be able to handle Sybases Unichar and Univarchar data
types. I notice that these types are returned as binary types. What part of
FreeTDS can I change so that the columns type comes back as SQL_LONGVARCHAR
or SQL_VARCHAR. I'm thinking that the best place would be when the data is
read from the database but I seem to be having trouble tracking down where
this is.

I'm using this API in a PowerBuilder application. I'm not much of a C++
developer so I can't really make a test harness. This makes it more
difficult for me to step into the code.

Thanks in advance for your help.

Brad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.