Re: [sqlite] getting data by the column name.

2008-10-08 Thread P Kishor
On 10/8/08, Tim Streater <[EMAIL PROTECTED]> wrote: > At 14:56 -0400 08/10/08, Igor Tandetnik wrote: > >Shaun R. <[EMAIL PROTECTED]> wrote: > >> Anybody help me out here, trying to grab column info based on the > >> columns name. Examples i keep seeing people seam to use the colunm > >>

Re: [sqlite] getting data by the column name.

2008-10-08 Thread Igor Tandetnik
Tim Streater <[EMAIL PROTECTED]> wrote: > At 14:56 -0400 08/10/08, Igor Tandetnik wrote: >> Shaun R. <[EMAIL PROTECTED]> >> wrote: >>> Anybody help me out here, trying to grab column info based on the >>> columns name. Examples i keep seeing people seam to use the colunm >>> number but cant

Re: [sqlite] getting data by the column name.

2008-10-08 Thread Tim Streater
At 14:56 -0400 08/10/08, Igor Tandetnik wrote: >Shaun R. <[EMAIL PROTECTED]> wrote: >> Anybody help me out here, trying to grab column info based on the >> columns name. Examples i keep seeing people seam to use the colunm >> number but cant you access these values by the name? > >Not in

Re: [sqlite] getting data by the column name.

2008-10-08 Thread Igor Tandetnik
Shaun R. <[EMAIL PROTECTED]> wrote: > Anybody help me out here, trying to grab column info based on the > columns name. Examples i keep seeing people seam to use the colunm > number but cant you access these values by the name? Not in general. Consider: select 1, 2, 3*5; What do you think the

[sqlite] getting data by the column name.

2008-10-08 Thread Shaun R.
Anybody help me out here, trying to grab column info based on the columns name. Examples i keep seeing people seam to use the colunm number but cant you access these values by the name? int main(void) { char myname[50]; sqlite3 *db; sqlite3_stmt *plineInfo = 0;