Re: Perl DBI Error 19

2001-06-27 Thread Gerald Clark
Your inner loop usage of $sth overwrites the result set of the outer loop. Use a different variable. Hannes Niedner wrote: I am having trouble with DBI. I wrote a little script that should update fields in one table (uid_test) based on values in another table (merge). I updates one row and

Re: Perl DBI Error 19 -solved

2001-06-25 Thread Hannes Niedner
Just if somebody is interested: I solved the mystery with Error 19. All I needed to do was introducing a second statement handle for the update query. (BTW, the script runs probably faster using '$sth = $dbh-do' instead of '$sth = $dbh-prepare', followed by '$sth = $dbh-execute'). Hannes On

Perl DBI Error 19

2001-06-24 Thread Hannes Niedner
I am having trouble with DBI. I wrote a little script that should update fields in one table (uid_test) based on values in another table (merge). I updates one row and then dies with: os prompt: blah blah 1 1011877 101 Error during processing for table uid_test Error 19 (fetch()