|
Tcl-Interface: Nested db eval in db eval script?: msg#00183db.sqlite.general
The eval method of the sqlite Tcl Interface has the syntax: dbcmd eval sql ?array-name script? Is it allowed, to use other [dbcmd eval ..] calls (with the same dbcmd) inside the script? For example db1 eval {SELECT a,b FROM t1} {} { puts $b db1 eval "SELECT c,d FROM t2 WHERE c='$a'" {} { puts "\t$d" } } I've tried it. At least with read-only access inside the script, this seems to work. But I thought, it's better, to ask. Is this allowed? Are there limits or problems with that (if ever)? rolf ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/EbFolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: sqlite-unsubscribe-VgYJa0VH1e9BDgjK7y7TUQ@xxxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Building SQLite 2.7.3 on Windows/VC 6: 00183, David LeBlanc |
|---|---|
| Next by Date: | Re: Odp: Digest Number 388 (SQLite with Borland C++ Builder 6.0): 00183, panzie_fr |
| Previous by Thread: | Building SQLite 2.7.3 on Windows/VC 6i: 00183, David LeBlanc |
| Next by Thread: | Re: Tcl-Interface: Nested db eval in db eval script?: 00183, D. Richard Hipp |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |