The name of an output column is not even defined, much less unique, unless the author of the statement has done extra work (using unique column names and/or AS clauses).
Consider Select a.*,b.*,c.* ... Where each table has a column named Id. Which index would you like to have returned? -----Ursprüngliche Nachricht----- Von: sqlite-users [mailto:[email protected]] Im Auftrag von Sebastian Gesendet: Sonntag, 02. September 2018 16:14 An: [email protected] Betreff: [EXTERNAL] [sqlite] Missing function sqlite3_column_index Hi, for sqlite3_bind_parameter_name there is an inverse function sqlite3_bind_parameter_index. But for sqlite3_column_name, I could not find such a function. Is it missing by intention, in order not to tempt users to call it once per row, which would be inefficient? (In that case, why not just mention that in the documentation?) Sebastian _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___________________________________________ Gunter Hick | Software Engineer | Scientific Games International GmbH | Klitschgasse 2-4, A-1130 Vienna | FN 157284 a, HG Wien, DVR: 0430013 | (O) +43 1 80100 - 0 May be privileged. May be confidential. Please delete if not the addressee. _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

