Alternatively in tcl :
dbcmd eval { create table mytable ( aaa integer, bbbb text) }
dbcmd eval { insert into mytable (aaa,bbb) values (1, 'zzzz') }
dbcmd eval "select * from mytable" loopvar {
# loopvar(*) contains the column names, loopvar(aaa) contains 1,
loopvar(bbb) contains "zzzz"
}
On 11 January 2012 20:57, Igor Tandetnik <[email protected]> wrote:
> On 1/11/2012 3:53 PM, inq1ltd wrote:
>
>> Can someone tell me how to get the column names
>> contained in a table on the fly.
>>
>
>
>
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users