----- Original Message ----
From: Puneet Kishor <[email protected]>
To: General Discussion of SQLite Database <[email protected]>
Sent: Fri, January 28, 2011 9:33:15 AM
Subject: Re: [sqlite] EXTERNAL:Re: Can't delete a row
>Because I find using bind values easier, clearer, and safer, even for
>one-off execute statements.
Me too. And it works great with $dbh->do, too.
my $rows_affected = $dbh->do('DELETE FROM contacts WHERE rowid = ?', undef, $q);
-Clark
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users