【轉】SET SERVEROUTPUT ON
SET SERVEROUTPUT ON
開啟伺服器的輸出顯示,即開啟oracle自帶的輸出方法dbms_output。在執行set
serveroutput on以後,使用dbms_output方法可以輸出資訊,例如:dbms_output.put_line('This is');
以下為其他引數的設定:
show all show all system variable
show user show current user
show
error show errors
show parameters show parameters
set heading off forbid
output column title, default is on
set feedback off forbid output statistics
feedback message
default for 6 or more records
set timing on default
is off, show the time elapsed while perform. query, can use it evaluate sql
performance.
set sqlprompt "SQL> " setup default prompt
set linesize
1000 setup width of row, default is 100,1-32767
set pagesize 0 setup page
size 該引數設定每頁輸出的行數,包括TTITLE(頭標題)、BTITLE(底標題)、COLUMN(列標題)和空行。n=0表示不產生新頁
set
autocommit ON setup commit automatically, default is off
set pause on set
pause, default is off
set arraysize 1 default is 15
set long 1000
default is 80
set verify off 賦值前後進行比較
set colsep Set column separate
symbol
set num 16 Set width of number
set trimspool on
清空多餘的空格,如:linesize過長
set termout on If set to off, it will suppress the
output of sql commands (but not the sql commands itself) if they 're run in a
script.
set echo off 執行命令檔案時,命令本身是否顯示在螢幕上
set wrap off 查詢結果不換行
set
markup html on
col(umn) col column format a10
col column format
$999,99
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26892340/viewspace-721936/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【轉】SET SERVEROUTPUTServer
- set serveroutput on 在PL/SQL中輸出內容ServerSQL
- 【SQL/PLUS】Oracle PL/SQL程式設計用set serveroutput onSQLOracle程式設計Server
- serveroutput size不夠用Server
- 【Oracle】-【sqlplus相關】-serveroutput引數OracleSQLServer
- [20171211]dbms_output無serveroutput onServer
- shell中set命令詳解(轉)
- BASH shell set命令詳解(轉)
- sqlplus常用set指令(轉)SQL
- 【轉】修改Oracle字符集(character set)Oracle
- 轉:ArrayList:用Set代替containsAI
- List ,Set,Map集合與陣列互轉陣列
- MySQL TEXT、DATE、SET 資料型別(轉)MySql資料型別
- java中list、set和map 的區別(轉)Java
- Set
- set /?
- set uid ,set gid,sticky bit的三個許可權的詳細說明(轉)UI
- alter system set events相關知識(轉帖2)
- alter system set events相關知識(轉帖1)
- lombok get/set 與 JavaBean get/setLombokJavaBean
- 求set uid ,set gid,sticky bit的三個許可權的詳細說明(轉)UI
- oracle配置會話環境(set命令) -- 轉自網路Oracle會話
- SET NEWNAME FOR
- set -e
- Jet Set
- Vue.set與vue.$set的使用Vue
- set pause on,set pagesize N小知識點。
- [Javascript] Perform Set Operations using JavaScript Set MethodsJavaScriptORM
- Java中 set,list,array(集合與陣列)、Map相互轉換Java陣列
- alter system set event和set events的區別
- Redis 入門 - 3(集合 set、有序集合 sort set)Redis
- JavaScript Set物件JavaScript物件
- Set delete() 方法delete
- RMAN SET NEWNAME
- oracle set eventsOracle
- alter session setSession
- oracle set roleOracle
- set excel formatExcelORM