in reply to Re: DBI error Can't mix placeholder styles (:foo/?)
in thread DBI error Can't mix placeholder styles (:foo/?)
DBD::Oracle::st execute failed: called with 3 bind variables when 4 ar +e needed
my $insql = " INSERT INTO PROGTBL (cola, colb, colc ) VALUES ( ?, ?, ?) RETURNING PROGID INTO ? "; my $sth = $self->dbh->prepare($insql) or die "Can't prepair statem +ent: $self->DBI::errstr"; $sth->bind_param_inout(4, \my $new_id, 99); $sth->execute( $foo, $bar, $baz)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBI error Can't mix placeholder styles (:foo/?)
by mje (Curate) on Jun 21, 2011 at 09:44 UTC | |
by Anonymous Monk on Jun 21, 2011 at 10:00 UTC | |
by mje (Curate) on Jun 21, 2011 at 10:05 UTC |