I get columns names in a table by executing the query

pragma table_info('the_table_name');

and using

sqlite3_column_text(&ps,1) //index 1 = name

for each row in the result set.

This works, but can I rely on the index being 1 for the 'name' column? I
don't see this documented anywhere.

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to