SQLite Forum

sqlite3_exec: the 3rd argument
Login
The 3rd argument of this API is the callback function.

1. The callback function is executed as many times as there are rowsin the result. Correct?
2. The callback function returns the column names <b>every</b> time it is called? Correct? If affirmative, isn't this superfluous?

3. How does the callback function handle the different types in the result columns? (Int, Float etc)?
4. My callback function consistently fails on the second call: any ideas on how to overcome this? (I'm using C#)