I am working on iPhone app. I have the SQL query:
NSString *myRed = [NSString stringWithFormat: @"%1.4f", slideR.value];
[self insertData:@"INSERT INTO colour VALUES("+myRed+")"];
It produces syntax error. How to insert a string into string. That approach in Java would have worked. Best regards