Re: [sqlite] SQLite & TCL: A "SELECT" from one-column table

2008-05-03 Thread Zbigniew Baniewski
On Sat, May 03, 2008 at 03:07:00PM -0400, D. Richard Hipp wrote: > > dbcomm eval {CREATE TABLE something( a_string VARCHAR(20) )} > > dbcomm eval {INSERT INTO something VALUES ('Version V8.5')} > > > > Now, if you want to retrieve the value: > > > > tclsh8.5 [~/tmp/tcltk]dbcomm eval "SELECT

Re: [sqlite] SQLite & TCL: A "SELECT" from one-column table

2008-05-03 Thread D. Richard Hipp
On May 3, 2008, at 1:52 PM, Zbigniew Baniewski wrote: > Take a look at following example: > > dbcomm eval {CREATE TABLE something( a_string VARCHAR(20) )} > dbcomm eval {INSERT INTO something VALUES ('Version V8.5')} > > Now, if you want to retrieve the value: > > tclsh8.5 [~/tmp/tcltk]dbcomm