Subject: [sqlite] How can i get the column's names from a table with the
sqlite.exe command line ?

Bonjours, Christian.

As far as I know, you could either:

   Parse them from the output of 
                .schema tablename

   or, more simply, if the table is non-empty:
      .headers on
      select * from tablename limit 1;
   and pay attention to only the first of the two lines of output (the
headers)





Opinions are not necessarily those of Misys Healthcare Systems nor its board
of directors.





Reply via email to