where="name=?, rank=?"

should be:

where="name=? AND rank=?"

remember that you will have the failing SQL in the log that you can
try directly within the shell

./Carl
http://androforge.net

On Apr 10, 7:32 pm, colintheprep <[EMAIL PROTECTED]> wrote:
> Does anybody know the syntax for using SQLiteDatabase.update?
>
> Specifically, what should the where string and whereArgs strings look
> like?
>
> I'm guessing something like this?
>
> where="name=?, rank=?"
> whereArgs = new String [] { "Patton", "general" }
>
> Si?
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to