Oracle startup settings

Source: Internet
Author: User

After starting sqlplus each time, you need to make some basic settings before editing the code. Today, let's take a look at the book and find a simple way to solve it.

Find the login. SQL (glogin. SQL) file in the oracle installation directory. My directory on the F disk is as follows: F: \ oracle \ product \ 10.2.0 \ db_1 \ sqlplus \ admin \ glogin. SQL

Open glogin. SQL and add the following code

-- My set
-- Specify the Default Editor opened by the ed command (notepad by default)
Define _ editor = 'd: \ Program Files \ editPlus-v3.11.421H \ EditPlus 3 \ editplus.exe'
-- Enable the output display and set the size.
Set serveroutput on size 100000
-- Set the number of characters displayed in each line
Set linesize 100
-- Set the number of records displayed on each page
Set pagesize 30

You do not need to set sqlplusw again later.


In addition, the SQL or txt text created using the ed command in oracle is generally stored in the C: \ Documents ents and Settings \ Administrator directory.


Author: gdn_wolf

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.