How many times do I just need a quick connection to Oracle DB, where SQLPLUS processes the job.
I guess when people start using Oracle, the first thing they are told is to install Toad or SQLDeveloper. However, sometimes you do not want to wait for these tools to load if you are performing simple queries.
I have a script that I run when I run my shell to get a better experience:
SET pagesize 2000 SET LONG 10000 SET linesize 1000 COLUMN last_name format a20 COLUMN total format 999,999,999 SET feedback ON alter session set nls_date_format = 'yyyy-mm-dd hh:mi:ssPM';
I trimmed my βCOLUMNβ settings for this example, but basically that helps the data fit on the screen.
Setting the date format really simplifies working with dates.
When the command prompt window opens on Windows, I set the window layout properties so that I can scroll, have a wider window, etc. and save settings for future windows.
Does SQLPLUS use every day? Any tips?
sql oracle sqlplus
ericp Sep 17 '09 at 14:20 2009-09-17 14:20
source share