SlideShare a Scribd company logo
6
Most read
8
Most read
10
Most read
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQLcl & Formatting Query Results
Your Modern Oracle Database Command Line Interface (CLI)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQL Tools
History
User Friendly Interface
 UFI
1979
SQLDev 1.1
 SQL Worksheet with Script
Engine (F5)
 Basic SQL*Plus Support
 Ships with 11gR1
SQL*Plus
 UFI Advanced
 Ships with Oracle v5
20071985 2008 2015
SQLcl takes existing SQL*Plus engine in
SQL Developer to a new CLI
 Standalone or included with 12c DB
 ships with 12cR2
 Supports 11gR2 and higher
 Available on OCI via YUM
sqlplusW & iSQL*Plus
discontinued
 no longer shipped as of Oracle
Database 11g
1998
iSQL*Plus
 Web Based SQL*Plus
 Ships with 8i (Internet)
1993
SQL*Plus GUI
 sqlplusW.exe
 Windows ONLY
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQLcl: a modern take on SQL*Plus
Included with SQL Developer, also available as a separate download/program
 Java 8 JRE or higher
 24 MB download
 Unzip & Go
 No Client Required
Supports all of your favorite SQL*Plus Commands
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OLD: SQL*Plus Style Default Output
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
NEW: SQLcl Formatted Output
Columns are ‘best fit’ per page of query results
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Formats Available
 Classic (SQL*Plus)
 ANSICONSOLE (Formatted)
 INSERT
 CSV
 DELIMITED
 XML
 HTML
 JSON & JSON-Formatted
 Color Coding
 Custom
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Classic, SQL*Plus Support Remains
 COLUMN SALARY FORMAT $99,990
 C/oldval/newval
 DESC
 & and &&
 pretty much everything else
you LOVE about SQL*Plus
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
INSERTs
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
CSV
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
DELIMITED – User optionally defines delimiters
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
XML
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
HTML (w/SPOOL)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
JSON (raw or formatted)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Color Coded – look for patterns in your data (regex)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Custom Formatting with JavaScript (Nashhorn)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Unicode/Multi-Byte Data, no problem!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Fun with Colors
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Demonstration Video

More Related Content

What's hot (20)

PDF
Time-Based Blind SQL Injection Using Heavy Queries
Chema Alonso
 
PPT
Parquet and impala overview external
mattlieber
 
PPTX
Linux standard file system
Taaanu01
 
PPTX
STAC, ZARR, COG, K8S and Data Cubes: The brave new world of satellite EO anal...
GEO Analytics Canada
 
PDF
Apache Server Tutorial
Jagat Kothari
 
PPTX
Networking in linux
Varnnit Jain
 
PDF
Shell scripting
Manav Prasad
 
PDF
Drools5 Community Training: Module 1.5 - Drools Expert First Example
Mauricio (Salaboy) Salatino
 
PDF
Pre-Con Ed: Using SQL to Access Your CA IDMS Databases
CA Technologies
 
PPT
BITS: Introduction to linux, distributions and installation
BITS
 
PDF
Release and patching strategy
Jitendra Singh
 
PPTX
Lecture 4 process cpu scheduling
Kumbirai Junior Muzavazi
 
PPT
SOHO Network Setup Tutorial
junaidahmedsaba
 
PDF
Linux systems - Linux Commands and Shell Scripting
Emertxe Information Technologies Pvt Ltd
 
PDF
Shell scripting
Ashrith Mekala
 
PPTX
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Carlos Sierra
 
PPTX
Network and System Administration chapter 2
IgguuMuude
 
PDF
Performance tuning in sql server
Antonios Chatzipavlis
 
PDF
Presentation citrix desktop virtualization
xKinAnx
 
PPTX
Presentation of awk
yogesh4589
 
Time-Based Blind SQL Injection Using Heavy Queries
Chema Alonso
 
Parquet and impala overview external
mattlieber
 
Linux standard file system
Taaanu01
 
STAC, ZARR, COG, K8S and Data Cubes: The brave new world of satellite EO anal...
GEO Analytics Canada
 
Apache Server Tutorial
Jagat Kothari
 
Networking in linux
Varnnit Jain
 
Shell scripting
Manav Prasad
 
Drools5 Community Training: Module 1.5 - Drools Expert First Example
Mauricio (Salaboy) Salatino
 
Pre-Con Ed: Using SQL to Access Your CA IDMS Databases
CA Technologies
 
BITS: Introduction to linux, distributions and installation
BITS
 
Release and patching strategy
Jitendra Singh
 
Lecture 4 process cpu scheduling
Kumbirai Junior Muzavazi
 
SOHO Network Setup Tutorial
junaidahmedsaba
 
Linux systems - Linux Commands and Shell Scripting
Emertxe Information Technologies Pvt Ltd
 
Shell scripting
Ashrith Mekala
 
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Carlos Sierra
 
Network and System Administration chapter 2
IgguuMuude
 
Performance tuning in sql server
Antonios Chatzipavlis
 
Presentation citrix desktop virtualization
xKinAnx
 
Presentation of awk
yogesh4589
 

Similar to Oracle SQLcl: Formatting your Query Results (20)

PPTX
What's New in Oracle SQL Developer for 2018
Jeff Smith
 
PPTX
Oracle SQL Developer Tips & Tricks
Jeff Smith
 
PPTX
Oracle SQL Developer: 3 Features You're Not Using But Should Be
Jeff Smith
 
PPTX
PL/SQL All the Things in Oracle SQL Developer
Jeff Smith
 
PPTX
All of the Performance Tuning Features in Oracle SQL Developer
Jeff Smith
 
PPTX
Oracle SQL Developer for SQL Server?
Jeff Smith
 
PPTX
Oracle SQL Developer Reports
Jeff Smith
 
PPTX
Oracle SQL Developer Data Modeler - for SQL Server
Jeff Smith
 
PDF
Oracle Warehouse Builder to Oracle Data Integrator 12c Migration Utility
Noel Sidebotham
 
PPTX
A practical introduction to Oracle NoSQL Database - OOW2014
Anuj Sahni
 
PPTX
REST Enabling Your Oracle Database
Jeff Smith
 
PPTX
Oracle SQL Developer: You're Doing it Wrong!
Jeff Smith
 
PPTX
Oracle Database 12c Feature Support in Oracle SQL Developer
Jeff Smith
 
PPTX
Change Management for Oracle Database with SQLcl
Jeff Smith
 
PDF
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Chris Muir
 
PPTX
Oracle Database Cloud Service
Jean-Philippe PINTE
 
PPTX
Oracle SQL Developer for the DBA
Jeff Smith
 
PPTX
Debugging PL/SQL from your APEX Applications with Oracle SQL Developer
Jeff Smith
 
PDF
D34010.pdf
RuchiNagar3
 
PPTX
Pimping SQL Developer and Data Modeler
Kris Rice
 
What's New in Oracle SQL Developer for 2018
Jeff Smith
 
Oracle SQL Developer Tips & Tricks
Jeff Smith
 
Oracle SQL Developer: 3 Features You're Not Using But Should Be
Jeff Smith
 
PL/SQL All the Things in Oracle SQL Developer
Jeff Smith
 
All of the Performance Tuning Features in Oracle SQL Developer
Jeff Smith
 
Oracle SQL Developer for SQL Server?
Jeff Smith
 
Oracle SQL Developer Reports
Jeff Smith
 
Oracle SQL Developer Data Modeler - for SQL Server
Jeff Smith
 
Oracle Warehouse Builder to Oracle Data Integrator 12c Migration Utility
Noel Sidebotham
 
A practical introduction to Oracle NoSQL Database - OOW2014
Anuj Sahni
 
REST Enabling Your Oracle Database
Jeff Smith
 
Oracle SQL Developer: You're Doing it Wrong!
Jeff Smith
 
Oracle Database 12c Feature Support in Oracle SQL Developer
Jeff Smith
 
Change Management for Oracle Database with SQLcl
Jeff Smith
 
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Chris Muir
 
Oracle Database Cloud Service
Jean-Philippe PINTE
 
Oracle SQL Developer for the DBA
Jeff Smith
 
Debugging PL/SQL from your APEX Applications with Oracle SQL Developer
Jeff Smith
 
D34010.pdf
RuchiNagar3
 
Pimping SQL Developer and Data Modeler
Kris Rice
 
Ad

More from Jeff Smith (15)

PPTX
Oracle REST Data Services: POUG Edition
Jeff Smith
 
PPTX
Oracle SQL Developer Tips and Tricks: Data Edition
Jeff Smith
 
PPTX
RESTful Services for your Oracle Autonomous Database
Jeff Smith
 
PPTX
Oracle Database Management REST API
Jeff Smith
 
PPTX
Oracle REST Data Services: Options for your Web Services
Jeff Smith
 
PPTX
REST Enabling your Oracle Database (2018 Update)
Jeff Smith
 
PPTX
Social Media - Why a Database Person Should Care
Jeff Smith
 
PPTX
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & Tricks
Jeff Smith
 
PPTX
Debugging PL/SQL with Oracle SQL Developer
Jeff Smith
 
PPT
If You Oracle Then You Should Twitter Too
Jeff Smith
 
PPTX
My Favorite Oracle SQL Developer Data Modeler Features
Jeff Smith
 
PPTX
Oracle SQL Developer Data Modeler - Version Control Your Designs
Jeff Smith
 
PPTX
Dimensional modeling in oracle sql developer
Jeff Smith
 
PPTX
Oracle SQL Developer version 4.0 New Features Overview
Jeff Smith
 
PPTX
Oracle SQL Developer Top 10 Tips & Tricks
Jeff Smith
 
Oracle REST Data Services: POUG Edition
Jeff Smith
 
Oracle SQL Developer Tips and Tricks: Data Edition
Jeff Smith
 
RESTful Services for your Oracle Autonomous Database
Jeff Smith
 
Oracle Database Management REST API
Jeff Smith
 
Oracle REST Data Services: Options for your Web Services
Jeff Smith
 
REST Enabling your Oracle Database (2018 Update)
Jeff Smith
 
Social Media - Why a Database Person Should Care
Jeff Smith
 
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & Tricks
Jeff Smith
 
Debugging PL/SQL with Oracle SQL Developer
Jeff Smith
 
If You Oracle Then You Should Twitter Too
Jeff Smith
 
My Favorite Oracle SQL Developer Data Modeler Features
Jeff Smith
 
Oracle SQL Developer Data Modeler - Version Control Your Designs
Jeff Smith
 
Dimensional modeling in oracle sql developer
Jeff Smith
 
Oracle SQL Developer version 4.0 New Features Overview
Jeff Smith
 
Oracle SQL Developer Top 10 Tips & Tricks
Jeff Smith
 
Ad

Recently uploaded (20)

PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
Q2 Leading a Tableau User Group - Onboarding
lward7
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Q2 Leading a Tableau User Group - Onboarding
lward7
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 

Oracle SQLcl: Formatting your Query Results

  • 1. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQLcl & Formatting Query Results Your Modern Oracle Database Command Line Interface (CLI)
  • 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Tools History User Friendly Interface  UFI 1979 SQLDev 1.1  SQL Worksheet with Script Engine (F5)  Basic SQL*Plus Support  Ships with 11gR1 SQL*Plus  UFI Advanced  Ships with Oracle v5 20071985 2008 2015 SQLcl takes existing SQL*Plus engine in SQL Developer to a new CLI  Standalone or included with 12c DB  ships with 12cR2  Supports 11gR2 and higher  Available on OCI via YUM sqlplusW & iSQL*Plus discontinued  no longer shipped as of Oracle Database 11g 1998 iSQL*Plus  Web Based SQL*Plus  Ships with 8i (Internet) 1993 SQL*Plus GUI  sqlplusW.exe  Windows ONLY
  • 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SQLcl: a modern take on SQL*Plus Included with SQL Developer, also available as a separate download/program  Java 8 JRE or higher  24 MB download  Unzip & Go  No Client Required Supports all of your favorite SQL*Plus Commands
  • 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OLD: SQL*Plus Style Default Output
  • 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | NEW: SQLcl Formatted Output Columns are ‘best fit’ per page of query results
  • 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Formats Available  Classic (SQL*Plus)  ANSICONSOLE (Formatted)  INSERT  CSV  DELIMITED  XML  HTML  JSON & JSON-Formatted  Color Coding  Custom
  • 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Classic, SQL*Plus Support Remains  COLUMN SALARY FORMAT $99,990  C/oldval/newval  DESC  & and &&  pretty much everything else you LOVE about SQL*Plus
  • 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | INSERTs
  • 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | CSV
  • 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | DELIMITED – User optionally defines delimiters
  • 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | XML
  • 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | HTML (w/SPOOL)
  • 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | JSON (raw or formatted)
  • 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Color Coded – look for patterns in your data (regex)
  • 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Custom Formatting with JavaScript (Nashhorn)
  • 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Unicode/Multi-Byte Data, no problem!
  • 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Fun with Colors
  • 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Demonstration Video