Run SQL Commands in SQL*Plus in Oracle

Q

How To Run SQL Commands in SQL*Plus in Oracle?

✍: FYIcenter.com

A

If you want to run a SQL command in SQL*Plus, you need to enter the SQL command in one or more lines and terminated with (;). The tutorial exercise below shows a good example:

SQL> SELECT 'Welcome!' FROM DUAL;

'WELCOME
--------
Welcome!

SQL> SELECT 'Welcome to FYIcenter.com tutorials!'
  2  FROM DUAL
  3  ;

'WELCOMETOFYICENTER.COMTUTORIALS!'
-----------------------------------
Welcome to FYIcenter.com tutorials!

 

Run PL/SQL Statements in SQL*Plus in Oracle

Types of Commands Executed in SQL*Plus in Oracle

Introduction to Command-Line SQL*Plus Client Tool

⇑⇑ Oracle Database Tutorials

2020-08-03, 2823🔥, 1💬