Home > Database > Mysql Tutorial > Oracle Sqlplus设置行数和宽度

Oracle Sqlplus设置行数和宽度

WBOY
Release: 2016-06-07 17:08:18
Original
1573 people have browsed it

1. 设置页面显示总行数 1) 查看目前的pagesize,默认是14: Sqlplus代码 1. show pagesize; 2) 将pagesize设置好100,

修改页面显示和行的默认值

但是这种方法,在你下次进入Sql Plus的时候还要重新设定,很麻烦。所以可以修改默认设置。

在Oracle的安装目录下找到glogin.sql,

我安装的是Oracle 11,这个文件在D:\oracle\product\11.2.0\dbhome_1\sqlplus\admin下,用搜索很容易找到。然后打开这个文件,


得到:

--

-- Copyright (c) 1988, 2005, Oracle.  All Rights Reserved.

--

-- NAME

--   glogin.sql

--

-- DESCRIPTION

--   SQL*Plus global login "site profile" file

--

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template