⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testthreshold.sql

📁 pl/sql中记log的函数
💻 SQL
字号:
declarepCTX PLOG.LOG_CTX := PLOG.init ( pSECTION => 'testThreshold',     pLEVEL => PLOG.LDEBUG,     pLOG4J => TRUE,     pLOGTABLE => TRUE,     pOUT_TRANS => TRUE,     pALERT => FALSE,     pTRACE => FALSE,     pDBMS_OUTPUT => TRUE);loopCount INTEGER := 1;beginwhile loopCount <= 5 loop	pCTX.DBMS_PIPE_NAME := 'THRESHOLD_TEST' || TO_CHAR(loopCount);	PLOG.DEBUG  (pCTX, 'this is a test debug message');	PLOG.INFO   (pCTX, 'this is a test info message');	PLOG.WARN   (pCTX, 'this is a test warning message');	PLOG.ERROR  (pCTX, 'this is a test error message');	PLOG.FATAL  (pCTX, 'this is a test fatal message');	loopCount := loopCount + 1;end loop;end;/exit;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -