70 lines
1.1 KiB
Markdown
70 lines
1.1 KiB
Markdown
|
INVALID OBJECT 조회
|
|||
|
|
|||
|
SELECT object_type,owner,object_name, status
|
|||
|
|
|||
|
FROM all_objects -- dba_objects
|
|||
|
|
|||
|
WHERE object_type in
|
|||
|
('VIEW','FUNCTION','TRIGGER','PROCEDURE','PACKAGE',
|
|||
|
'PACKAGE BODY')
|
|||
|
AND status='INVALID'ORDERBY1 ;
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
-- INVALID OBJECT 재컴파일 구문 생성.
|
|||
|
|
|||
|
SELECT'alter '||DECODE(object_type,'PACKAGE BODY',
|
|||
|
|
|||
|
'PACKAGE',object_type)||' '||owner||'.'||object_name||
|
|||
|
' compile'||
|
|||
|
DECODE(object_type,'PACKAGE BODY',' body;',';')
|
|||
|
FROM dba_objects
|
|||
|
WHERE object_type in
|
|||
|
('VIEW','FUNCTION','TRIGGER','PROCEDURE','PACKAGE',
|
|||
|
'PACKAGE BODY')
|
|||
|
AND status='INVALID'ORDERBYowner,decode
|
|||
|
(object_type,'VIEW','A','FUNCTION','B',
|
|||
|
'TRIGGER','C','PROCEDURE','D',
|
|||
|
'PACKAGE','E','PACKAGE BODY','F')
|
|||
|
,object_name ;
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
---
|
|||
|
|
|||
|
GMT선박 리스트
|
|||
|
210
|
|||
|
250
|
|||
|
440
|
|||
|
450
|
|||
|
510
|
|||
|
620
|
|||
|
650
|
|||
|
700
|
|||
|
730
|
|||
|
880
|
|||
|
910
|
|||
|
940
|
|||
|
970
|
|||
|
|
|||
|
---
|
|||
|
tb_fbb_lc 데이터 확인
|
|||
|
SELECT count(*)
|
|||
|
FROM TB_FBB_LC
|
|||
|
WHERE to_char(RGSDE, 'yyyymmdd') > '20220119'
|
|||
|
|
|||
|
|
|||
|
---
|
|||
|
|
|||
|
설정파일 추가
|
|||
|
|
|||
|
<Client>
|
|||
|
<Connection ID="1" Tag="0" USE="TRUE" Name="EyeGW_Filter_FSO" PIP="127.0.0.1" SIP="127.0.0.1" PORT="8072"/>
|
|||
|
<Option LineMode="TRUE" />
|
|||
|
<Reconnect ReconnUSE="TRUE" Interval="60"/>
|
|||
|
</Client>
|