in reply to Re: Unique ID
in thread Unique ID

So how would i do a delete statement WHERE oid = "$oid" ?

Replies are listed 'Best First'.
Re: Re: Re: Unique ID
by lestrrat (Deacon) on Jul 20, 2001 at 13:04 UTC

    That is correct, sir

    Well, since you are using "$oid", I should make sure and point out that you really should use place holders...

    $dbh->do( "DELETE FROM table WHERE oid = ?", undef, $oid ); or $sth = $dbh->prepare( "DELETe FROM table WHERE oid = ?" ); $sth->execute( $oid );