Hi, guys,

I am developping allication with SQLite3 functions.
When I will use sqlite3_bind and wild card for some SQL, it wouldn't work well.

1. SELECT ? FROM records WHERE age=30
I want to set some table name into ? every time.

2. SELECT * FROM records WHERE age=30 ORDER BY ?
I want to set some order target into ? every time.

3. SELECT * FROM records WHERE age=30 ORDER BY weight ?
I want to select ASC/DESC into ? every time.

In every those 3 cases, I cant get correct results.
Does any one help me?
Can I make these parameter wildcard?


Thanks,
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to