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

Home -> Community -> Usenet -> c.d.o.misc -> Re: sqlplus extensions, a simple answer

Re: sqlplus extensions, a simple answer

From: Kenneth C Stahl <BlueSax_at_Unforgettable.com>
Date: Mon, 20 Sep 1999 08:06:53 -0400
Message-ID: <37E6235D.B48607C4@Unforgettable.com>


I think you misunderstand the purpose of sqlplus. Sqlplus is a client program which allows the user to send sql such as DML, DCL, DDL, etc to the RDBMS engine. In addition, it also has some of its own functionality to format output. Outside of sqlplus, statements such as "set linesize 50" are meaningless because they are not SQL concepts.

There are other clients which can send sql statements to the rdbms, but while some of these clients provide very robust report formatting, some have virtually none and it is therefore up to the programmer to write programs that will perform the formatting.

The sqlplus "compute" statement is only known to sqlplus. You can get similar results with other products, but you must perform the computations programmatically.

What you really must remember is that sqlplus is not Oracle. It is only a tool that Oracle has supplied which makes life a bit easier for Oracle users.

Roberto Diaz wrote:

> Hi! Oracle gurus ;)
>
> I'm a begginer with oracle i wonder how usefull is to learn all the
> capabilities of sqlplus.. I mean the following.. in order to use 'compute'
> for example or anyother sqlplus sql-extension must I always pipe my script
> througth sqlplus?
>
> Can I, for example, use Perl DBI/DBD and send sqlplus commands directly to
> the server to recieve something formated?
>
> Thank you very much please answer me to rdiazmar_at_nova.es
>
> --
>
> Saludos
>
> Roberto Díaz <rdiazmar_at_nova.es>
> http://www.linuxfocus.org/developer/Roberto
Received on Mon Sep 20 1999 - 07:06:53 CDT

Original text of this message

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