How to append an integer to a const char value in iphone?

Posted by Warrior on Stack Overflow See other posts from Stack Overflow or by Warrior
Published on 2010-06-14T23:17:33Z Indexed on 2010/06/14 23:22 UTC
Read the original article Hit count: 113

Filed under:
|
|

I have sql query statement which used to display the contents in the table.The sql statement consist of a where clause which is to be appended with numeric value as 1 ,2 3 etc depends upon the previously selected content.I am having the numeric value as int and i want it to append to sql statement which is const char.how can i append both the values.Please help me out.

My query is ==> select * from Book where id=1;

i have the id value is integer

Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about sqlite