Re: [sqlite] Re: know a field datatype on callback function

2006-10-31 Thread Rúben Lício
i can do it now, ty. i was using sdlite3_compile how i see in one tutorial, but it dont exists, the correct name is prepare. regards, ruben On 10/31/06, Rúben Lício <[EMAIL PROTECTED]> wrote: I was try sqlite3_prepare, but it's not at my header. i'm using linux ubuntu 6. sqlite was

Re: [sqlite] Re: know a field datatype on callback function

2006-10-31 Thread Rúben Lício
I was try sqlite3_prepare, but it's not at my header. i'm using linux ubuntu 6. sqlite was instaled from official repositories. i will try decltype and column_type now. ty, ruben On 10/31/06, Igor Tandetnik <[EMAIL PROTECTED]> wrote: Rúben Lício <[EMAIL PROTECTED]> wrote: > Can I know how

[sqlite] Re: know a field datatype on callback function

2006-10-31 Thread Igor Tandetnik
Rúben Lício <[EMAIL PROTECTED]> wrote: Can I know how is the field datatype on callback function? If not, can i know in other way?? Instead of sqlite3_exec, use sqlite3_prepare / sqlite3_step / sqlite3_finalize. You can then use sqlite3_column_decltype and sqlite3_column_type. Igor