in reply to DBI:Problem in binding VARCHAR values to statement
I suspect you will have better results with:
If you used bind_param(), you wouldn't need to assign anything to @row, and you would use fetch() instead. See perldoc DBI for more details.$sth_DNTM->execute($cd_typ, $num_org); @row = $sth->fetchrow_array();
Update: chipmunk is right, I'm thinking of bind_columns(). Sorry about that! My guess is on the missing 'WHERE' SQL keyword.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI:Problem in binding VARCHAR values to statement
by chipmunk (Parson) on May 07, 2001 at 06:52 UTC |