Re: Need help with quoting
- From: awr@xxxxxxx
- Date: Fri, 16 Nov 2007 07:42:39 -0800 (PST)
On Nov 16, 9:30 am, Alan Grunwald
<usenetReader_NOSPAM@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
<snip>This is only mysql query in the script, so I was trying to get away
Sorry about this, but this IS usenet after all...
What are you doing next? Have you considered something like:
package require mysqltcl
set db [mysql::connect -use mythtv -password mythtv]
set result [mysql::sel $db "SELECT title, subtitle, originalairdate,
chanid, starttime, basename FROM recorded WHERE title LIKE 'Naked
Science' ORDER BY originalairdate" -list]
without the overhead of an additional package. Also, I'm using the
"stock" tclsh that came with the Fedora distribution. I haven't
checked, but I suspect it does not have the mysqltcl package
installed.
On the other hand, I intend to save your reply against the time I do
need to do more with the database. Thanks for the tutorial!
Andrew
.
- References:
- Need help with quoting
- From: awr
- Re: Need help with quoting
- From: Alan Grunwald
- Need help with quoting
- Prev by Date: Re: Need help with quoting
- Next by Date: Re: TIP#308 Published: Tcl Database Connectivity (TDBC)
- Previous by thread: Re: Need help with quoting
- Next by thread: Re: Need help with quoting
- Index(es):
Relevant Pages
|