On Wed, 09 Feb 2000, Aaron Ross wrote:
> hi David!
> 
>  i remember that i couldn't get Sybase to work with Apache::Session b/c the
> prepare statements use placeholders. you cannot use placeholders with a text
> field in sybase. from the DBD::Sybase docs:
> 
>        Note that IMAGE or TEXT datatypes can not be passed as
>        parameters when using ?-style placeholders, and ?-style
>        placeholders can't refer to TEXT or IMAGE columns.
> 
>  if you got past this problem, please tell me how! i'd love to see this work!

Either use TEXT and modify Apache::Session to use sprintf/DBI::quote or use
IMAGE and modify Apache::Session to use pack/unpack("h*",...).

-- 
<Matt/>

Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.

Reply via email to