----- Original Message ----
From: Puneet Kishor <punk.k...@gmail.com>
To: General Discussion of SQLite Database <sqlite-users@sqlite.org>
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
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to