Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7075311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:09:43+00:00 2026-05-28T06:09:43+00:00

In SQL PLus, if I want to hide the command on screen, I use

  • 0

In SQL PLus, if I want to hide the command on screen, I use at the beginning of the script:

SET ECHO OFF

But what about this command? How to hide also this?

In MS-Dos you could use @ in front of it, but in SQL*Plus?

EDIT:
I know the -S option for SQL*Plus, but the problem is that I am sending my script to the client and therefore I don’t control how they are running SQL*Plus.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:09:44+00:00Added an answer on May 28, 2026 at 6:09 am

    You might want to start SQL*Plus with the -S flag:

    sqlplus -S user/password@db @path/to/your/script
    

    The documentation says: SILENT Option

    -S[ILENT]

    Suppresses all SQL*Plus information and prompt messages, including the command prompt, the echoing of commands, and the banner normally displayed when you start SQL*Plus. If you omit username or password, SQL*Plus prompts for them, but the prompts are not visible! Use SILENT to invoke SQL*Plus within another program so that the use of SQL*Plus is invisible to the user.

    SILENT is a useful mode for creating reports for the web using the SQLPLUS -MARKUP command inside a CGI script or operating system script. The SQL*Plus banner and prompts are suppressed and do not appear in reports created using the SILENT option.SILENT Option


    So, with the silent option it seems that there won’t be need to use set echo at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got an SQL-script executed by SQL*Plus, that needs to run with Oracle 10g
I've got this SQL script that needs to exist in two places in source
Using SQL Plus, you can run a script with the @ operator from the
I want to generate a whole lot of SQL*Plus scripts by querying the data
I'm spooling out delimited text files from SQL*Plus, but every column is printed as
I'm using SQL*Plus 9.2 on Oracle 10g enterprise. I have created some scripts that
I am not a fan of using SQL*PLUS as an interface to Oracle. I
I have a few sql scripts that I need to run via SQL*Plus. These
How does one change the current directory in SQL Plus under windows. I am
I have multiple databases that I connect to using SQL*Plus in Windows (not the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.