1, pl/sql Developer Remember login password
In the use of Pl/sql developer, in order to work conveniently hope Pl/sql developer remember to login Oracle username and password;
Setup method: Pl/sql Developer 7.1.2->tools->preferences->oracle->logon History, "store History" is the default check, "Store With password ", you can log in again and remember to enter the password once.
2. Execute a single SQL statement
When using Pl/sql Developer SQL window, press the F8 key, Pl/sql developer The default is to execute all of the SQL statements of the window, you need to set the mouse is the SQL statement, that is, execute the current SQL statement;
Set method: Pl/sql Developer 7.1.2-->tools->preferences-->window types, on the hook "AutoSelect Statement" can be.
3. Format SQL statements
When using Pl/sql Developer SQL window, sometimes the input of the SQL statement is too long or too messy, hope to be able to use a more general format words, so that looks good, or analysis;
How to: Select the SQL statement you want to format, and then click the Pl/sql beautifier button on the toolbar.
4. View the execution plan
When using Pl/sql Developer SQL window, sometimes the efficiency of the input SQL statement, the analysis of the following table structure, how to improve the efficiency of the query, you can view the implementation plan provided by Oracle;
How to: Select the SQL statement you want to analyze, and then click the Explain Plan button (that is, the execution Schedule) of the toolbar, or press F5 directly.
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/
5. Debug stored Procedure
When using Pl/sql developer to manipulate Oracle, some stored procedures are sometimes invoked, or stored procedures are debugged;
Methods to invoke a stored procedure: First, select procedures in the browser to the left of Pl/sql developer, find the stored procedure that needs to be invoked, and then select the stored procedure to debug, right-click, and select Test, and in the pop-up Test Scrīpt window, For a parameter that is defined as in type, the value of the parameter needs to be entered, and the last number of buttons is clicked: Start debugger or press F9, and then click: RUN or Ctrl+r.
6. Auto Select & Auto Execute
Tools->preferences->sql Window, select both Autoexecute queries and AutoSelect statement. As long as this feature is enabled, press F8 (corresponding to "execute" shortcut key), you can execute the cursor in the SQL statement, and no longer need to use the mouse to select the statement that needs to be executed.
7, keyword automatic capitalization
Tools->preferences->editor, will keyword case choose uppercase. The general is to capitalize the keywords, other things such as table name, field name, etc. are lowercase. Everyone should develop a coding habit of their own and keep it going.
8, change the default execution shortcut key F8 for Ctrl+enter (similar toad)
Tools->preferences->key Configuration->session/execute, then press Ctrl+enter.
9, Save the login password
Tools->preferences->logon history-> is selected for the store with Password.
10, Autoreplace automatic replacement function
Tools->preferences->editor->autoreplace-> Select Enabled, and edit the file, add the following content:
Sf=select * FROM
Scf=select Count (*) from
S=select
F=from
W=where
D=delete
U=update
--end--[/size]