RE: Bad int8 external representation "" (SQL-HY000)(DBD: st_execute/SQLExecute err=-1)
- From: ron@xxxxxxxxxxxxx (Ron Savage)
- Date: Fri, 21 Apr 2006 09:13:53 +1000
On Thu, 20 Apr 2006 07:51:24 -0700, Loo, Peter # PHX wrote:
Hi Peter
Do you mean plug in the work "undef" before doing the INSERT?
Yes. Off the top of my head (add error checks!):
$sql = 'insert into table_x (column_y, column_z) values (?, 99)';
$sth = $dbh -> prepare($sql);
$sth -> execute(undef);
--
Cheers
Ron Savage, ron@xxxxxxxxxxxxx on 21/04/2006
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company
.
- Follow-Ups:
- RE: Bad int8 external representation "" (SQL-HY000)(DBD: st_execute/SQLExecute err=-1)
- From: William R. Mussatto
- RE: Bad int8 external representation "" (SQL-HY000)(DBD: st_execute/SQLExecute err=-1)
- References:
- RE: Bad int8 external representation "" (SQL-HY000)(DBD: st_execute/SQLExecute err=-1)
- From: Peter # PHX Loo
- RE: Bad int8 external representation "" (SQL-HY000)(DBD: st_execute/SQLExecute err=-1)
- Prev by Date: Re: last insert id
- Next by Date: RE: Bad int8 external representation "" (SQL-HY000)(DBD: st_execute/SQLExecute err=-1)
- Previous by thread: RE: Bad int8 external representation "" (SQL-HY000)(DBD: st_execute/SQLExecute err=-1)
- Next by thread: RE: Bad int8 external representation "" (SQL-HY000)(DBD: st_execute/SQLExecute err=-1)
- Index(es):
Relevant Pages
|