[freetds] dbbind, dbnullbind issues

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Tue Jun 15 09:57:56 EDT 2004

> Guys,
> I've been wrestling with the features of dbbind and 
> dbnullbind, and trying
> to implement something that reflects :
> a) what the manual pages say (both Sybase and SQL Server)
> b) how the functions work in reality (for which I use a test program
> compiled with Sybase open client)
> I'm finding a few things in this area that are giving me problems:
> 1) The manual pages do NOT reflect how the functions actually behave. 
> 2) The actual behaviours don't make much sense sometimes. 
> I could do several things:
> 1) code our dblibrary funstions so that they behave as 
> specified in the
> manual pages.
> 2) attempt to reflect the actual (but inconsistent) behaviour 
> of the Sybase
> implementation
> 3) code to a different, but clearer and arguably more sensible,
> specification.
> 1) has the advantage of clarity, but may lead to problems 
> with applications
> originally coded against Sybase open client, e.g. DBD::Sybase 
> 2) is proving a bit difficult, as I'm having problems working out the
> underlying logic from the results I'm getting.
> 3) would lead us down the road of providing our own man pages for the
> dblibrary functions.
> What do you reckon  I should do ?
> regards,

Hi Bill, 
I don't know dblib that much however you should tell us what you
discovered about these functions... why are they so weird??


More information about the FreeTDS mailing list