Basic functionality - in tclsh or wish:

# loads the sqlite package
package require sqlite

# opens database file c:/tmp/abcd - creates if it doesn't exist
sqlite myDb c:/tmp/abcd

# Basic SQL
myDb eval "select * from hello"

# close the database
myDb close

-----Original Message-----
From: Anirban Sarkar [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 07, 2005 2:50 AM
To: sqlite-users@sqlite.org
Subject: [sqlite] Tcl sqlite connectivity
Importance: High


I am using sqlite-2.8.15.
I want to connect to the sqlite database using TCL and fetch some data.
Please note that I have already downloaded tclsqlite-2.8.15 from
www.sqlite.org. What do I do next?

Any help in this regard will be highly appreciated.

Thanking you.

Your's sincerely,
Anirban Sarkar

Reply via email to