PL/SQL Developer Usage Tips Summary

Source: Internet
Author: User
Tags beautifier

To quickly use PL/SQL developer for Oracle database-related development, summarize some of the more frequently used tips below, from the network and your own tests

1. Switch schema

--switch Schema
Alter session set current_schema= PO;
--get Current Context information
SelectSys_context ('USERENV','Current_User') Current_User, Sys_context ('USERENV','Current_schema') Current_schema fromDual

2. PL/SQL beautifier (PL/SQL beautification)

Sometimes we write the code format is not good-looking, in the menu, choose Edit-PL/SQL Beautifier, you can quickly get the layout of the good formatting code. For illegal DML statements or DDL statements, PLD will prompt PL/SQL Beautifier could not parse text in the status bar below.

In the default state, PLD will arrange each field of the DML statement in a separate line, so it is not easy to see. In the menu, choose Edit->pl/sql beautifier options, go to Preferences window, select Edit, go to Profile editing interface: Select DML in the tab bar in the middle of the window, In the Insert and update groups box, select Fit and click Save to save the configuration file to the PLD installation directory, and click Close. In the rules file, enter the location of the configuration file, click OK to complete the profile switch. Then you can format the code so that each field is as close as possible on one line.

3, PL/SQL developer remember login password

First set to save the login history password, and then next login as shown in the following method

PL/SQL Developer Usage Tips Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.