On 02/02/2012 04:53 PM, saex wrote:
I like execSQL because i can do this:
db.execSQL("INSERT INTO Usuarios (codigo, nombre) VALUES (1,
'pedro')");
exist's something similar (wich only needs a string as parameter) but
to do SELECT sentences and returns a Cursor with the results????
Thanks
http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#rawQuery(java.lang.String,
java.lang.String[])
<http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#rawQuery%28java.lang.String,%20java.lang.String[]%29>
But I'd think twice before using this too much :)
--
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