I want to execute a sqlite query:
select * from table_name where id in (23,343,33,55,43);
The values in the in clause need to be taken from an array of strings:
String values[] = {"23","343","33","55","43"}
How can I achieve that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe a simple
toString()will mostly do the trick: