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,449評論 0 10
  • =========================================================...
    _燈火闌珊處閱讀 2,468評論 0 3
  • 超高速音視頻編碼器用法: ffmpeg [options] [[infile options] -i infile...
    吉兇以情遷閱讀 4,663評論 0 4
  • 總有一天,會有一個人,看你寫的所有狀態,讀你寫的所有微博,看你從小到大的照片,甚至去別的地方找關于你的信息,試著聽...
    陸大少陸大少閱讀 161評論 0 0