@J-M-L
The sprintf did the trick!
I've to change this:
char sSql[200];
char *sql = sSql;
but it works.
Thank you.
@ wildbill
Can, will, you please point me to an explanation/tutorial on how this "Look up bind variables for sqlite3. " thing works?