Skip to Content.
Sympa Menu

freetds - mssql, dynamic query and strings

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "Freetds (E-mail)" <freetds AT franklin.metalab.unc.edu>
  • Subject: mssql, dynamic query and strings
  • Date: Thu, 26 Sep 2002 09:55:15 +0200


I'm implementing dynamic query in mssql using sp_prepare/sp_execute (sql7+)
I have problem writing ucs2 strings to wrire. The function tds_read_string
(read.c) read a string using singlebyte-string or ucs2-string based on
protocol while tds_write_string write only singlebyte-string and padding
with null.
My intention is to rename tds_write_string to tds_write_ascii_string_padded
(too long ?? tds_write_padded_cstring is better? ) and create a
tds_write_string with similar behaviour of tds_read_string (but it should
write to wire and not read, of course!)

freddy77

=================================
"STRICTLY PERSONAL AND CONFIDENTIAL

This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."

=================================




Archive powered by MHonArc 2.6.24.

Top of Page