2019-07-25 glogin.sql配置可以VI编辑,可以回退,无限行数

gedit $ORACLE_HOME/sqlplus/admin/glogin.sql

--

-- Copyright (c) 1988, 2011, Oracle and/or its affiliates.

-- All rights reserved.

--

-- NAME

--  glogin.sql

--

-- DESCRIPTION

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

--

--  Add any SQL*Plus commands here that are to be executed when a

--  user starts SQL*Plus, or uses the SQL*Plus CONNECT command.

--

-- USAGE

--  This script is automatically run

--

DEFINE _EDITOR=vi

ALTER SESSION SET nls_date_format = 'YYYY-MM-DD HH24:MI:SS';

-- SET the SQLPROMPT to include the _USER, _CONNECT_IDENTIFIER

-- and _DATE variables.

SET SQLPROMPT "_USER'@'_CONNECT_IDENTIFIER _DATE> "

-- To set the number of lines to display in a report page to 0.

SET PAGESIZE 0

-- To set the number of characters to display on each report line to 200.

SET LINESIZE 200

-- To set the number format used in a report to $99,999.

SET NUMFORMAT 999999999999

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • pyspark.sql模块 模块上下文 Spark SQL和DataFrames的重要类: pyspark.sql...
    mpro阅读 9,505评论 0 13
  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,448评论 0 10
  • =========================================================...
    _灯火阑珊处阅读 2,462评论 0 3
  • 超高速音视频编码器用法: ffmpeg [options] [[infile options] -i infile...
    吉凶以情迁阅读 4,663评论 0 4
  • 总有一天,会有一个人,看你写的所有状态,读你写的所有微博,看你从小到大的照片,甚至去别的地方找关于你的信息,试着听...
    陆大少陆大少阅读 161评论 0 0