Hi all,
I fetch data from a sqlite backend database using TCL.
How do I display the fetched data?
For everyone's convenience, I am including my TCL code :
# Loading the sqlite database
load /usr/lib/tclsqlite-2.8.15.so Sqlite
sqlite db1 /root/cesc_simputer.db
db1 eval {select * from mri where con_no = '$cmd'} values {
parray values
puts ""
}
Please note that the cmd variable contains the required variable value. The mri
table contains columns name, address etc.
Kindly help.
Regards,
Anirban Sarkar