As requested I have uploaded a sample of a program (create_report.zip) that will create a comma delimited file from executing a sql statement. The program expects an argument of the a ini type file to be passed to it. The program create-report.pl is the program and the sql-report.txt is the ini file. The create-report.pl program reads the file (sql-report.txt) that is passed to it, each line has 3 parameters in it (database file, output file and sql text). Each sql statement gets parsed and executed and written to a file. I chose to create a comma delimited file because that is the easiest, you could create any type of output you would want. By using this program all you have to do is edit/create new ini files for each database you have.
Questions/Comments/Suggestions?
Friday, January 12, 2007
To DB or Not To DB The Report
Subscribe to:
Post Comments (Atom)
1 comment:
"Well, I bought some Zenegra Generic Viagra . The price was very cheap. This is the first time I buy Zenegra generic Viagra online online. It works just the same as Cialis Online . It has the same active ingredient.
Post a Comment