Hello
I try to make Insert SQL sentence below this, but It does not work well.
Actually it stops  after "path2" display(Debug print mode ).
  Please tell me how It works correctly about this case,

================================================
Example
      $sql =" insert into aaa_tbl   select 〜  from bbb_tbl";
       ・
   ・
        ・
print "path1";
       $sth = $dbh->prepare($sql)  || &die2($dbh->errstr);
print "path2";
       $sth->execute($sql) || &die2 ($sth->errstr);
print "path3";
       $dbh->commit || &die2($dbh->errstr);
================================================ 

Reply via email to