블로그 이미지
redkite

카테고리

분류 전체보기 (291)
00.SI프로젝트 산출물 (0)
00.센터 운영 문서 (0)
01.DBMS ============.. (0)
01.오라클 (117)
01.MS-SQL (15)
01.MySQL (30)
01.PostgreSql (0)
01.DB튜닝 (28)
====================.. (0)
02.SERVER ==========.. (0)
02.서버-공통 (11)
02.서버-Linux (58)
02.서버-Unix (12)
02.서버-Windows (2)
====================.. (0)
03.APPLICATION =====.. (11)
====================.. (0)
04.ETC =============.. (0)
04.보안 (5)
====================.. (0)
05.개인자료 (1)
06.캠핑관련 (0)
07.OA관련 (1)
Total
Today
Yesterday

달력

« » 2024.5
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

공지사항

최근에 올라온 글

SELECT 'EXEC DBMS_UTILITY.compile_schema(schema => '||owner||');'

FROM   dba_objects

WHERE  status = 'INVALID'

ORDER BY owner, object_type, object_name

/



set heading off

set feedback off

set linesize 80


select 'alter view "' || object_name || '" compile;'

from user_objects

where object_type = 'VIEW'

and status = 'INVALID'

/


alter view "EMP_PUBLIC_DATA" compile;

alter view "VIEW_T" compile;

alter view "DEPT_EMP_VIEW" compile;

alter view "DEPARTMENT_10" compile;


set heading on

set feedback on


select 'show errors view ' || object_name

from user_objects

where object_type = 'VIEW'

and status = 'INVALID'

/


'SHOWERRORSVIEW'||OBJECT_NAME

--------------------------------------------------------------------------------

show errors view EMP_PUBLIC_DATA

show errors view VIEW_T

show errors view DEPT_EMP_VIEW

show errors view DEPARTMENT_10


4 rows selected.

Posted by redkite
, |

최근에 달린 댓글

최근에 받은 트랙백

글 보관함