
Last Updated (Saturday, 08 August 2009 22:12) Tuesday, 13 January 2009 10:53
เทคนิคนี้ คุณ “ นี่เราเป็น DBA หรือเปล่านะ ” ที่ช่วยพวกเราตอบปัญหาในเวบบอร์ดอยู่เสมอ ส่งมาเผยแพร่ครับ
เป็น SQL code สำหรับให้ DBA ตรวจสอบว่า database object เช่น ตาราง,วิว, index ตัวใดบ้างที่ถูกแก้ไขใน 7 วันที่ผ่านมา
select OWNER,
OBJECT_NAME,
OBJECT_TYPE,
to_char(LAST_DDL_TIME,'MM/DD/YYYY HH24:MI:SS') last_modified,
to_char(CREATED,'MM/DD/YYYY HH24:MI:SS') created,
STATUS
from dba_objects
where (SYSDATE - LAST_DDL_TIME) < 7
order by LAST_DDL_TIME DESC ;
oracle database table oracle database data using pl/sql index oracle tutorial password oracle thailand oracle training thailand database administrator oracle thai oracle dba oracle training oracle consulting oracle consultance thai oracle consultance oracle consulting thailand mysql tuning indexes statistics join column migration rman tables production


