Re: Bad int8 external representation "" (SQL-HY000)(DBD: st_execute/SQLExecute err=-1)



On Wed, 19 Apr 2006 20:56:39 -0700 (PDT), Peter Loo wrote:

Hi Peter

No Ron. I did not chomp the record, but I am quite certain that it
is not the issue. The field it is complaining about is blank. The
odd thing is that the column it is going into is allowed for NULL
values. I don't know what else to do, but will certainly give chomp
a try.

OK.

You do realize a blank field (empty string) in Perl is /not/ a database null,
right?

To get a null use Perl's undef.

Yes, I am only testing with one record.

I guessed chomp may be relevant as soon as I thought it died on the first line.

--
Ron Savage
ron@xxxxxxxxxxxxx
http://savage.net.au/index.html


.



Relevant Pages

  • Re: Rant Thread: Udc shipping, What the hell?
    ... okay, im done ... Seems a little odd that you're complaining about the website, ...
    (rec.sport.unicycling)
  • Re: Called today by Cunard-QM2 cruise
    ... >find that odd this far out? ... Not complaining! ... Our Feb cruise on the Caribean Princess was dropped $40 a head AND ...
    (rec.travel.cruises)
  • Re: Is thi me or GCC
    ... As to the second half of your remark, it seems odd to pick ... But that is not the kind of "not used" that gcc is complaining about. ... you get the same message if the last clause in the "for" ...
    (comp.lang.c)
  • Re: Dont Any of You Find It Odd
    ... I find it odd that you are taking time out of your life to complain ... ok, i am not complaining, nor have i complained once. ... a form of star fucking. ... Welcome to life. ...
    (alt.fan.howard-stern)
  • Re: Dont Any of You Find It Odd
    ... I find it odd that you are taking time out of your life to complain ... ok, i am not complaining, nor have i complained once. ... pointing out the irony of spending time on someone you claim to hate. ... i think it is a form of star fucking. ...
    (alt.fan.howard-stern)