including sql files in a main perl script.

2004-03-01 Thread Oracle Monk
Thanks to all of you for answering my question. Regards Oracle Monk

Re: including sql files in a main perl script.

2004-02-27 Thread Peter Hircock
Hello I have written a few report programs where I separate the SQL from the code by using HTML::Template to access the SQL files.I used HTML::Template mainly because I was already familiar with it from CGI uses and it did the trick ( handling ASCII files ( SQL statements ) and outputting

RE: including sql files in a main perl script.

2004-02-27 Thread Jeffrey . Seger
To: "'Oracle Monk'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> cc: Subject:RE: including sql files in a main perl script. > > Hi all, > > I want to know is it possible to include .sql files in a main > perl scr

RE: including sql files in a main perl script.

2004-02-27 Thread Andy Crichton
If you want to run the program from any machine then you Should look at DBD::Proxy as an alternative way of connecting to The database. In this case you would only need perl,DBI,DBD::Proxy on the "client" side of things. I agree with the other chap who responded in that Storing the sql in packag

RE: including sql files in a main perl script.

2004-02-27 Thread Petrás István
7;; [EMAIL PROTECTED] Subject: RE: including sql files in a main perl script. > > Hi all, > > I want to know is it possible to include .sql files in a main > perl script? Sure. > > I don't want write sql statements inside a perl script, > rather i want to keep

RE: including sql files in a main perl script.

2004-02-27 Thread Jeff Urlwin
> > Hi all, > > I want to know is it possible to include .sql files in a main > perl script? Sure. > > I don't want write sql statements inside a perl script, > rather i want to keep the sql files in a seperate folder and > then use a perl script to read those sql files, prepare them > an

Re: including sql files in a main perl script.

2004-02-27 Thread Chris Jack
tions instead. i.e. ban raw SQL. Regards Chris - Original Message - From: "Oracle Monk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 27, 2004 7:27 AM Subject: including sql files in a main perl script. Hi all, I want to know is it possible t

including sql files in a main perl script.

2004-02-27 Thread Oracle Monk
Hi all, I want to know is it possible to include .sql files in a main perl script? I don't want write sql statements inside a perl script, rather i want to keep the sql files in a seperate folder and then use a perl script to read those sql files, prepare them and then execute them as we can d