Oracle SQL

Most Common SQL*PLUS commands

Most Common SQL Command
Avatar of shohal
Written by shohal

For finding the table:

Select * from Tabs; (Tabs means Table)

For describing the table:

Describe dept;(dept is table name)

Or

Desc dept;

Set line 10 Means:

1………10 lines. line  work horizontally

Set pagesize  5 means:

1

.

.

.

5

After 5 lines it shows the heading. Pagesize work vertically.

/

(/ it is used to previous data show)

Edit  

(Edit Work on notefile)

Or

ED

Save D:\EMP.SQL (It works to save the query on pc/desktop)

@D:\EMP.SQL ( It works for save file run)

Clear screen (it used to screen clear)

Spool D:\2021.sql (save the whole work, it runs early work)

Passw  scott(user) (For use password change)

Select * from emp where deptno=&deptno;

Enter a value for:

(& use for data)

Ed login (It saves the data on screen)

 Copy (CMD file goto property and select the quick edit mode and insert mode)

🚀
Most Common SQL*PLUS commands | TechTweet

If you’d like me to proceed with any of these, please just let me know from the site techtweet.xyz! Also if you need to learn something new than subscribe YouTube : ASP.NET With SQL SERVER

About the author

Avatar of shohal

shohal

I have profession and personal attachment with custom ERP Software development, Business Analysis, Project Management and Implementation almost (36) ,also Oracle Apex is my all-time favorite platform to developed the software. Moreover i have some website development experience with WordPress. For hand on networking experience DevOps and CCNA, it create me a full package. Here are some core programming language with networking course i have been worked: Oracle SQL ,PL/SQL,Oracle 19c Database , Oracle Apex 20.1,WordPress,Asp.Net ,MS SQL ,CCNA ,Dev Ops, SAP SD

Leave a Comment