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
Mladen Gogala
Oracle DBA
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 3:00 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: [Q] SQL Help!! How to make select left justify and fill space??
LOL!
"Mladen Gogala" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]08/27/2003 10:04 AM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
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.
