-
Notifications
You must be signed in to change notification settings - Fork 126
/
+plusenv.sql
32 lines (29 loc) · 835 Bytes
/
+plusenv.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
REM ------------------------------------------------------------------------------------------------
REM $Id: plusenv.sql,v 1.4 2003/03/26 18:04:47 dixi Exp $
REM Author : dixi
REM #DESC : Set default sqlplus environment
REM Usage : run automatically at sqlplus logon
REM Description: called by login.sql
REM ------------------------------------------------------------------------------------------------
set autocommit off
set echo off
set feed on
set head on
set lines 250
set long 10000
set pages 1000
set serveroutput on size 1000000
set trimspool on
set verify off
set pause off
ttitle off
clear breaks
clear columns
col blksz new_value blocksz
set termout off
select value blksz
from v$parameter
where name = 'db_block_size'
;
alter session set nls_date_format = 'YYYY/MM/DD HH24:MI:SS';
set termout on