On Mon, 10 Mar 2003 22:55:26 -0500 "Matthew O. Persico" <[EMAIL PROTECTED]> wrote:

> Conclusion: somewhere in bind_param or whatever it is that it
> invokes, trailing blanks are being stripped before the call to the OCI.
> 
> I was able to get around this by using
> 
> $sth->bind_param($col_idx,
>   $value,
>   {TYPE => DBI::SQL_CHAR});
> 
> So, my question is, why is the DBI apparently taking it upon itself to
> enforce string trimming for varchars? Shouldn't the server be
> responsible? And shouldn't the DBI behave the same for th same value
> whether it is bound or constant? Or is there something stupid I am
> missing?

http://xmlproj.com/fom-serve/cache/124.html

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

Reply via email to