I am having problems writing statements, especially when updating.
- I want to update a column with a parameter, but I don't know the special characters to use like
@
or%d
.
I tried to do:
const char *sqlStatement = [[NSString stringWithFormat:
@"update lugar set frecuencia ='d%'aumentador Where idLugar = '%d'",
idLugarParametro] cStringUsingEncoding:NSUTF8StringEncoding];
But I get a problem with: frecuencia ='d%'aumentador
- How can I find a guide or tutorial for using this special characters for creation statements? (Using Objective C specifically.)