Category: SQLPlus

SQLPlus Remark

REMARK Command Syntax: REM[ARK] REMARK Command Example: REM COMPUTE uses BREAK ON REPORT to break on end of table BREAK ON REPORT COMPUTE SUM OF “CONTRACT 1” “CONTRACT 2” “CONTRACT 3” “TOTAL BY PRODUCT_ID” ON REPORT REM Each column displays the...

SQLPlus Recover

RECOVER Command Syntax: RECOVER {general | managed | END BACKUP} General clause syntax: [AUTOMATIC] [FROM location] { {full_database_recovery | partial_database_recovery |LOGFILE filename} [ {TEST | ALLOW integer CORRUPTION } [TEST | ALLOW integer CORRUPTION ]…] |CONTINUE [DEFAULT]|CANCEL} Managed clause syntax: MANAGED...

SQLPlus Prompt

PROMPT Command Syntax: PROMPT [text] PROMPT Command Example: PROMPT PROMPT Enter the customer id PROMPT For example: 1, 2, 3, 4, 5 SELECT customer_name FROM customers_view WHERE customer_id = &customer_id...

SQLPlus Pause

One of the useful features of SQLPlus is the PAUSE command, which enables users to control the display of output and pause the execution of a script or command. The PAUSE command in SQL*Plus allows you to pause the output on...