On Tue, Feb 15, 2011 at 3:19 PM, Abhilash baddam <
abhilash.androiddevelo...@gmail.com> wrote:
>
>     My problem was solved like this..
> myDB.execSQL("DELETE FROM favourites where month=' "+str1+" ' ");
>

Pls. *don't* use this style of writing SQL queries!

JAlexoid (Aleksandr Panzin) had a good suggestion for you.

The reason is "SQL Injection". Pls. have a read here:
http://en.wikipedia.org/wiki/SQL_injection

BR,
Sebastian

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to