I'd suggest rawQuery ...

Regards, plusminus
http://anddev.org
#  Worlds largest Android Development Community / Tutorials

On May 28, 4:00 pm, scorpio <[EMAIL PROTECTED]> wrote:
> Here, the return value is an integer, but for Sqlitedatabase.query()
> its returning cursor, so how can we get the integer value.
>
> thanks
> Nithin
>
> On May 28, 6:00 pm, scorpio <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > how we can get the maximum value of an attribute in a table,     in
> > terminal , i checked and its working,
>
> > the query is        ->    select max(key) from Testing;
>
> > but how we can do this in Android.
>
> > please reply immediately
>
> > Thanks
> > Nithin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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