Sponsor
ปฎิธิน
February 2012 S M T W T F S « Nov 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
Tag Archives: oracle
query สำหรับดึง source code ใน oracle
เนื่องจากบทความที่แล้ว เป็น query สำหรับดู DEPENDENCY ของ object สำหรับ query ที่ใช้สำหรับดึง code ในส่วนของ source code ที่เป็น view คือ SELECT text FROM all_views WHERE view_name= ? สำหรับ ที่เอาไว้ดึง function + procedure คือ SELECT text FROM all_source WHERE name= ? and type = … Continue reading
Posted in Oracle
Tagged function source code, oracle, procedure source code, view source code
Leave a comment
วิธีดู DEPENDENCY ของ object ใน oracle
วิธีดู DEPENDENCY ของ object ใน oracle เช่น เอาไว้ดูว่า procedure นี้ dependency กับ procedure หรือ function ไหนบ้าง SELECT lvl , u.object_id , u.object_type , LPAD (‘ ‘, lvl) || object_name obj FROM ( SELECT LEVEL lvl, object_id FROM SYS.public_dependency s START … Continue reading
