随笔-69  评论-0  文章-5  trackbacks-0
1, 找到glogin.sql

设置:
    -- custom setup
REM Number of lines of SELECT statement output before reprinting headers
SET PAGESIZE 999

REM Width of displayed page, expressed in characters
SET LINESIZE 132

REM Enable display of DBMS_OUTPUT messages. Use 1000000 rather than
REM "UNLIMITED" for databases earlier than Oracle Database 10g Release 2
SET SERVEROUTPUT ON SIZE UNLIMITED FORMAT WRAPPED

REM Change default to "vi improved" editor
DEFINE _EDITOR = /usr/bin/vim

REM Format misc columns commonly retrieved from data dictionary
COLUMN segment_name FORMAT A30 WORD_WRAP
COLUMN object_name FORMAT A30 WORD_WRAP

REM set the prompt (works in SQL*Plus from Oracle9i Database or later)
SET SQLPROMPT "_USER'@'_CONNECT_IDENTIFIER > "


2, c /a/b/g  替换

3,   a [_][_] asdf  追加,注意两个空格

4,   column ${列名} format aNN  格式化字符
       column ${列名} format 99999.99  格式化数字,一个9代表1位
posted on 2007-04-12 17:44 liunix 阅读(174) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: