怎么通过日志反馈中的内容找出相应的SQL语句

2010-07-16-04.34.51.105061+480 E6805430A696       LEVEL: ErrorPID     : 295074               TID  : 1          &nbs...显示全部
2010-07-16-04.34.51.105061+480 E6805430A696       LEVEL: Error
PID     : 295074               TID  : 1           PROC : db2agent (REM) 0
INSTANCE: db2inst1             NODE : 000         DB   : REM
APPHDL  : 0-775                APPID: C0A8726E.M112.118A85183330
FUNCTION: DB2 UDB, data protection, sqlpgResSpace, probe:560
MESSAGE : ADM1542W  Application "QuestCentral.exe" with application handle "0"
          and application id "C0A8726E.M112.118A85183330" executing under
          authentication id "REMUSER " will be forced off of the database for
          violating database configuration parameter MAX_LOG (current value
          "80"). The unit of work will be rolled back.

各位大侠,如何能把相对应的SQL语句还有执行人的IP找出来呢`~~谢谢收起
参与19

查看其它 16 个回答nowhill的回答

nowhillnowhill系统工程师
to  qqdzyh   二位二位转换
SQL> select to_number('C0','XXX')||'.'||to_number('A8','XXX')||'.'||to_number('72','XXX')||'.'||to_number('6E','XXX') from dual;

TO_NUMBER('C0','XXX')||'.'||TO
--------------------------------------------------------------------------------
192.168.114.110

ps一下 db2 居然没有16进制 转换成10进制的函数
IT分销/经销 · 2010-07-19
浏览1010

回答者

nowhill
系统工程师

nowhill 最近回答过的问题

回答状态

  • 发布时间:2010-07-19
  • 关注会员:2 人
  • 回答浏览:1010
  • X社区推广