Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: [Q] SQL Help!! How to make select left justify and fill space??

RE: [Q] SQL Help!! How to make select left justify and fill space??

From: <Jared.Still_at_radisys.com>
Date: Wed, 27 Aug 2003 13:19:26 -0800
Message-ID: <F001.005CD881.20030827131926@fatcity.com>


Mladen,

Even I use sqlplus for some reporting.

There's even a perl script in "Perl for Oracle DBA's" that is a driver for sqlplus.

Why? For the things that are missing in Perl that I needed for some reporting.

Mostly the column breaks. There is no convenient module yet for doing that
in Perl. I started one for Perl, but never finished it. Not enough oop experience
for the complexity of what I was trying to do ( breaks and sums ). Have a working
prototype, but far from finished. Just ran out of time for it.

Sqlplus does still have it's place.

Jared

"Mladen Gogala" <mladen_at_wangtrading.com>
Sent by: ml-errors_at_fatcity.com
 08/27/2003 12:59 PM
 Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        RE: [Q] SQL Help!! How to make select left justify and fill space??


Well, people are trying to use SQL*Plus as if it was a report generating tool, which it isn't.
To tell the truth, I started using perl because of its formatting capabilities (I hope you still
do remember the old &ora_login stuff from perl4?) because my report looked so much nicer
then with sqlplus. I don't have running sums, but they're rarely needed. On the other hand,
I can do left and right justification, top of the page format, multiline fields (impossible to do
with sqlplus) and a lot of other good stuff, like conditional printing (that's why perl has
"if" statement). The ideal thing for generating pretty reports out of any
database is called
perl. It's cheap, it's well documented ("Learning Perl", "Perl Programming", "Perl Cookbook",
"Perl for Oracle DBA", "Advanced Perl Programming", "Perl for Sys Admins",
"Perl Objects,

References & Modules","Learning Perl Tk", "Object Oriented Perl Programming", I have a
whole shelf devoted to perl.I have a hunch that when Cary's book gets into the circulation,
there will be another book on that shelf. If that is not a well documented language, then I
don't know what is) and is ideally suited for the purpose. Yet, people are still using sqlplus.
Why? It beats me.    

--
Mladen Gogala
Oracle DBA 
-----Original Message-----
Sent: Wednesday, August 27, 2003 3:00 PM
To: Multiple recipients of list ORACLE-L


LOL! 






"Mladen Gogala" <mladen_at_wangtrading.com>
Sent by: ml-errors_at_fatcity.com 08/27/2003 10:04 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: Subject: RE: [Q] SQL Help!! How to make select left justify and fill space?? Use something like FORMAT STDOUT= @<<<<<<<< @>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $id, $empname Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: INET: Jared.Still_at_radisys.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Received on Wed Aug 27 2003 - 16:19:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US