Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

To echo SQL statements in sqlplus

Posted on 2000-04-28
1
Medium Priority
?
3,147 Views
Last Modified: 2011-09-29
Is there a sqlplus SET command so Oracle will automatically echo the SQL statements being submitted??  I've issued SPOOL prior to the batch job run but all it captured was the result (ie. "statement processed") but not the actual sql statement itself.
Thanks.
0
Comment
Question by:mindless
1 Comment
 

Accepted Solution

by:
wren2000 earned 200 total points
ID: 2759110
"set echo on" will echo SQL*Plus commands when run from a start file. To see the current status of your set commands, type "show all" in SQL*Plus.

Good Luck!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question