Re: [sqlite] no such function problem

2012-07-31 Thread Rob Richardson
This is a C question, not an SQLite question. But I'll answer it anyway. You included the function call in your quoted string, so your compiler thinks it's just random text. You need: sprint(sql, "insert into student select 3, %s, 22;", ldll("bb")); RobR

[sqlite] no such function problem

2012-07-31 Thread YAN HONG YE
I write a function in my program: char *ldll(char *s1) { return s1; } and use it to modify my sqlite db: sprintf(sql,"insert into student select 3,ldll('bb'),22;"); but the error msg is "no such function: ldll" ___ sqlite-users mailing list