Solved

To echo SQL statements in sqlplus

Posted on 2000-04-28
1
3,094 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 50 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Create index on View 27 53
oracle query help 36 67
Oracle SQL Select within a Where Clause 9 42
unable to get sorting resultset 15 48
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now