Re: Table gets wiped out!

2002-10-22 Thread Mark
- Original Message - From: "Basil Hussain" <[EMAIL PROTECTED]> To: "Mark" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 6:32 PM Subject: RE: Table gets wiped out! > Hi, > > > $sth = $dbh -> prepare (&qu

RE: Table gets wiped out!

2002-10-22 Thread Basil Hussain
Hi, > $sth = $dbh -> prepare ("LOCK TABLES $table WRITE"); > die $dbh->errstr if (not defined ($sth -> execute)); > > $sth = $dbh -> prepare ("DELETE FROM $table"); > die $dbh->errstr if (not defined ($sth -> execute)); > > This truncated the table. Then I filled the table anew, an

Table gets wiped out!

2002-10-21 Thread Mark
Still need help with this, guys. :) I read that was a problem with the list being over some limit (?). So, in case you did not receive this, I hereby resent it. Otherwise, I am sorry for posting it twice. Thanks, - Mark Ok, rebuillding a table, I did (in Per

Table gets wiped out!

2002-10-20 Thread Mark
Ok, rebuillding a table, I did (in Perl): $sth = $dbh -> prepare ("LOCK TABLES $table WRITE"); die $dbh->errstr if (not defined ($sth -> execute)); $sth = $dbh -> prepare ("DELETE FROM $table"); die $dbh->errstr if (not defined ($sth -> execute)); This truncated the table. Then I