Solved

To echo SQL statements in sqlplus

Posted on 2000-04-28
1
3,116 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
any step by steps guide on how to install Oracle 12c on Windows 10 8 186
Password_rules_securitty.. 12 46
Oracle perfomance issue. 4 49
Performance Issue in Oracle 3 46
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…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

738 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