Oracle SQL Developer
Launch
From command line...
sqldeveloper
Formatting Output
SELECT /*csv*/ * FROM scott.emp;
SELECT /*xml*/ * FROM scott.emp;
SELECT /*html*/ * FROM scott.emp;
SELECT /*delimited*/ * FROM scott.emp;
SELECT /*insert*/ * FROM scott.emp;
SELECT /*loader*/ * FROM scott.emp;
SELECT /*fixed*/ * FROM scott.emp;
SELECT /*text*/ * FROM scott.emp;
SELECT /*json*/ * FROM scott.emp;
Use F5 to run (i.e. run Script rather than run Statement).
You can also use this instead of the in-line comment..
SET SQLFORMAT csv
SET SQLFORMAT
Note that you can also use this in SQLcl (but not SQL*Plus)
Preferences
Your preferences for SQL Developer are stored in one of these locations (Windows or Linux/OSX.)...
C:\Users\%USER%\AppData\Roaming\SQL Developer
/home/%USER%/.sqldeveloper
Connections
To migrate connections from one machine to another...
Right-click on "Connections" in "Connections" pane.
Select Export Connections
Transfer resultant file to new machine
Select Import connections
Select the connections you wish to import
Select what you want to do about any duplicates
Layout
Multiple Vertical Tabs
Pin the tab
Right-click the tab header
"New Document Tab Group"
Drag & Drop to re-order
Consider minimising the "Connections" window etc.
Consider the "Split" options
Zebra Stripes
Tools
Preferences
Database
Worksheet
"Grid in checker board or Zebra pattern"
Date Format
Tools
Preferences
Database
NLS
Date Format
Before...
After...
Bibliography
http://www.thatjeffsmith.com/archive/2012/05/formatting-query-results-to-csv-in-oracle-sql-developer/ https://www.thatjeffsmith.com/archive/2014/05/migrating-oracle-sql-developer-connections-with-passwords/https://www.thatjeffsmith.com/archive/2019/07/moving-your-sql-developer-preferences-between-machines/
https://www.oracle.com/webfolder/technetwork/tutorials/obe/db/devdays2012/mod2_sqldev/mod2_sqldev.html (Testing and Debugging Procedures using SQL Developer 3.1)https://www.thatjeffsmith.com/archive/2013/05/how-to-see-two-tables-at-the-same-time-in-oracle-sql-developer/https://www.thatjeffsmith.com/archive/2011/12/sql-developer-quick-hit-zebra-pattern-data-grids/https://stackoverflow.com/questions/12628385/sql-developer-is-returning-only-the-date-not-the-time-how-do-i-fix-this