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: PL/SQL and SQL Plus

Re: PL/SQL and SQL Plus

From: Jonathan Gennick <jonathan_at_gennick.com>
Date: Tue, 07 Sep 1999 17:46:19 GMT
Message-ID: <37e34781.11467980@netnews.worldnet.att.net>


On Tue, 07 Sep 1999 13:58:26 GMT, finana_at_my-deja.com wrote:

>I'm having difficulties executing SQL Plus from PL/SQL. Any
>suggestions?

You can't execute SQL*Plus commands from PL/SQL. The reason is that PL/SQL is a programming language, and PL/SQL program units execute inside the database. SQL*Plus is a client program that provides an interface that you can use to send SQL queries, and PL/SQL blocks, to Oracle. The SQL*Plus interface makes this somewhat confusing, because it doesn't require you to distinguish between commands to the tool, and queries and blocks being submitted to the database. Everything gets typed into that one window.

Jonathan



jonathan_at_gennick.com
http://gennick.com
Brighten the Corner Where You Are Received on Tue Sep 07 1999 - 12:46:19 CDT

Original text of this message

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