nickjwest has asked for the wisdom of the Perl Monks concerning the following question:

Hello all, I would like to write a script that will run a SQL Query to a DB, take the output and then return the output into a CSV column.
E.g SQL Query will take a list of IP Address and grab associated field in table, eg. Cisco Device Uptime for that IP. Then take that output and write to a column in a CSV.

Is this OK to do and can anyone give me some pointers to start me off.
All help really appreciated as i'm new to all this.

Replies are listed 'Best First'.
Re: SQL Query Output to CSV Column
by nickjwest (Novice) on Apr 23, 2004 at 14:08 UTC
    Just noticed some previous questions on same subject so apologies in advance for dulplication.