in reply to Calling a Sybase Procedure with NUL in a parm

Perl won't do anything with the NUL's, but something written in C will. Like DBD::Sybase, and whatever Sybase libraries (dblib or ctlib) you are using.

Are you sure your Sybase client libraries can handle this?

Abigail

  • Comment on Re: Calling a Sybase Procedure with NUL in a parm

Replies are listed 'Best First'.
Re: Re: Calling a Sybase Procedure with NUL in a parm
by mpeppler (Vicar) on Feb 05, 2003 at 00:35 UTC
    CTlib can handle embedded nul bytes. However, DBD::Sybase does indeed assume NULL terminated strings for CHAR/VARCHAR parameters (which could be construed as a bug, I suppose).

    Michael