SQLDeveloper stuff

From The University of Akron Support Wiki
Jump to: navigation, search

PSV9 > Oracle Knowledge Base

Preferences

Setting line numbers

You can have Oracle SQL*Developer display a line number beside all SQL statements. Click on TOOLS>PREFERENCES, then expand CODE EDITOR and then select LINE GUTTER. You can check SHOW LINE NUMBERS and voila you have line numbers beside your SQL and you no longer have to count the line numbers to find the SQL in error.

Setting Date/Time Display Formats

You can set how you want to view date and time information by

  1. clicking on Tools | Preferences
  2. Open the Database Tree
  3. select NLS parameters

If you want dates with times to display like you're used to in DB2, enter YYYY-MM-DD-HH24.MI.SS for the date format.

Note: If you're in a tool like WinSQL and want to make sure your seeing the full date and time, you can use:

alter session set nls_date_format='YYYY-MM-DD-HH24.MI.SS';

Auto commit

You can turn on AutoCommit by

  1. clicking on Tools | Preferences
  2. Open the Database Tree
  3. select Worksheet parameters
  4. Check on the Autocommit in SQL Worksheet box