Re: [sqlite] Problem with sqlite3_column_origin_name and AS Clause

2009-08-20 Thread Dinu Scheppelmann (DAISY)
"Igor Tandetnik" schrieb im Newsbeitrag news:h6bg82$td...@ger.gmane.org... > Dinu Scheppelmann (DAISY) wrote: > > Unfortunately when I get the column names by function > > sqlite3_column_origin_name(), the result columns have the names > > "DokId", "Name" and "Name" again -

Re: [sqlite] Problem with sqlite3_column_origin_name and AS Clause

2009-08-17 Thread Igor Tandetnik
Dinu Scheppelmann (DAISY) wrote: > Unfortunately when I get the column names by function > sqlite3_column_origin_name(), the result columns have the names > "DokId", "Name" and "Name" again - instead of "Id", "PatientName" and > "Name"!! You want sqlite3_column_name Igor Tandetnik

[sqlite] Problem with sqlite3_column_origin_name and AS Clause

2009-08-17 Thread Dinu Scheppelmann (DAISY)
Hello to all SQLite people (that's my first post - please be patient:-)) I already searched the mailings from 2008/2009 but could not find a post that describes this problem. I have a select over a few tables, and since many tables use identical names for some columns (like "Id"), I rename the