The database is a single file and resides where you want it. Here’s some tcl code I use:
Code:
package require sqlite
sqlite db /export/quovadx/qdx5.6/integrator/development/tclprocs/agfatest.db
db eval “INSERT INTO ro VALUES (’$id’,’$ord’,’$svc’,’$dtTm’)”
db close
You will need to setup the database tables first. I use Sqlite Expert Personal http://www.sqliteexpert.com to design the database and then ftp the file to my Cloverleaf server in the tclprocs directory.
I executed the command mentioned above from the command line, and it did indeed created the new database and allow me to then populate the database table from a tcl proc.
Note: we are running 5.7 and that seems to require typeing sqlite3, not sqlite.
Thanks,
Kenadi
Author
Replies
Viewing 2 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.