Articles Comments

Oracle DBA & All IT » Utilities

วิธีการ kill, cancel, resume, restart job Oracle Datapump (expdp,impdp)

วิธีการ kill, cancel, resume, restart  job Oracle Datapump (expdp,impdp) Query ดู Job name ของ datapump Status คววรจะเป็น Executing SELECT owner_name, job_name, operation, job_mode, state FROM dba_datapump_jobs; OWNER_NAME JOB_NAME             OPERATION  JOB_MODE   STATE ---------- -------------------- ---------- ---------- ------------ SYSTEM     EXP_FULL             EXPORT     FULL       EXECUTING   .. Preview : 2687 … Read entire article »

Filed under: Database, DBA, Oracle, Oracle Tips, Utilities

SQL*Loader DATE Format -ตัวอย่างที่3

วันนี้จะมาเล่าเกี่ยวกับการเอาข้อมูล date จาก file เข้า table ซึ่งหลายๆคนอาจจะเคยเจอปัญหาเข้าเข้าไม่ได้บ้าง format ไม่ตรง ซึ่งสำหรับ SQL*Loader สามารถที่จะ fix format ได้ ซึ่งจะทำให้ข้อมูลที่เราโหลดเข้า Table ถูกต้องยิ่งขึ้น   .. Preview : 4639 … Read entire article »

Filed under: Database, Oracle, Programming, Utilities

Trigger in Oracle

หลายๆคน อาจจะยังงงงวย ว่า Trigger มีเอาไว้ทำอะไร แล้วทำงานอย่างไร? วันนี้จึงถือโอกาสหยิบยกมาแนะนำกัน เผื่อมีใครจะนำไปใช้ประโยชน์จากมันได้บ้าง TRIGGER พูดง่ายๆคือ โปรแกรมๆ นึงที่ผูกติดไว้กับ Table นึง เพื่อจับตาดูเหตุการณ์ที่เกิดขึ้นกับ Table นั้นๆ แล้วถ้าเกิดเหตุการณ์นั้นๆ เราจะให้ทำอะไรต่อไป   .. Preview : 7972Related Search:trigger oracle คือ … Read entire article »

Filed under: Database, DBA, Function, Oracle, Oracle Tips, Programming, Utilities

SQL*Plus copy Utility — วิธีใช้ copy ใน SQL*Plus

The SQL*Plus copy Utility  "สวัสดียามเช้าจ้า.. วันพระใหญ่วันนี้อย่าลืมไปทำบุญตักบาตร เวียนเทียนกันน๊า.. เพื่อเป็นสิริมงคลกับตัวเองและครอบครัวจ้า ^^ " คำสั่ง Copy ใช้สำหรับ Copy ข้อมูลระหว่าง 2 Database โดยผ่าน SQL*Net. โดยมี format command ดังนี้ COPY FROM DB_Src TO DB_Dest action   destination_table (column_name, column_name…) USING query   .. Preview : 8514Related Search:วิธีการใส่ index oracle … Read entire article »

Filed under: Database, DBA, Function, New Feature, Oracle, Oracle Tips, Utilities

SQL*PLUS – SET Statement

วันนี้รวบรวมคำสั่ง SET Statement ใน SQL*Plus มาฝากกัน เผื่อใครกำลังหาคำสั่งที่เหมาะ บางครั้งมีประโยชน์สำหรับการ Spool file ออกมาเป็น Report ที่เราต้องการ ส่วนไหนที่ไม่ต้องการให้แสดง เราก็ set off ซะ อันไหนอยากให้โชว์ เราก็ on ซะ แค่นี้เราก็จะได้ Report ที่สวยงามตามที่เราต้องการแล้ว ^^   .. Preview : 7776 … Read entire article »

Filed under: Database, DBA, DBA, Developer, Oracle, Oracle Tips, Utilities, รวม Script ต่างๆ

PL/SQL developer: Dynamic Performance Tables not accessible

เฮ่อ.. หลังจากหนีน้ำท่วมมานาน เปิดงานมา User ก็หา Error มาฝากเลย เลยเอาวิธีแก้มาไว้ให้ดูกันจ้า.. Login into PL/SQL Developer with a new user, or execute the sql refer to the dynamic table, you may get the error below.   .. Preview : 7056Related Search:dynamic performance tables not accessibledynamic performance tables not accessible automatic statistics disabled for this session … Read entire article »

Filed under: Database, Developer, Oracle, Programming, Utilities

การ config EXTPROC บน Oracle11g

วันนี้เอาเรื่องการ config EXTPROC เพื่อให้ developer สามารถใช้ PL/SQL เรียกใช้โปรแกรมภาษาอื่นๆ ได้ เช่น java, c เป็นต้น   .. Preview : 6396Related Search:pl sql developer วิธีใช้ … Read entire article »

Filed under: Database, DBA, DBA, Developer, Function, Oracle, Programming, Utilities

วิธีการแก้ปัญหาลง OBIEE (Oracle Business Intelligence Tools) บน windows 7 ไม่ได้

วิธีการแก้ปัญหาลง OBIEE (Oracle Business Intelligence Tools) บน windows 7 ไม่ได้   ทำได้โดยการไปแก้ Compatibility mode ก่อนการ Install   .. Preview : 6902Related Search:obiee คือ … Read entire article »

Filed under: Database, ORA-Error, Oracle, Utilities

แก้ปัญหา buffer overflow ใน SQL*Plus ,PL/SQL และ PL/SQL developer tools

วันนี้จะมาพูดถึง buffer overflow ใน pl/sql และการรันจาก pl/sql developer tools ถ้าเจอปัญหาอย่างนี้เราสามารถที่จะแก้ไขได้อย่างไร   .. Preview : 8946Related Search:buffer overflowpl/sql developer … Read entire article »

Filed under: Developer, ORA-Error, Oracle Tips, Utilities

SQL*Loader โหลดข้อมูลจาก Text เข้า Table -ตัวอย่างที่2

SQL*Loader เป็นเครื่องมือสำหรับการนำข้อมูลจาก text file มาใส่ลง Table โดยการใช้ commad นี้ จะต้องมีการสร้าง Table ในฐานข้อมูลไว้เรียบร้อยก่อน ซึ่ง Table สามารถที่จะมีข้อมูลอยู่แล้วหรือว่างๆ ก็ได้ และต้องมี Privileges ดังนี้   .. Preview : 11776Related Search:sql loader คือsql loadersql*loader คือsqlldrsqlldr คือsql loader ภาษาไทยsqlldr thai front … Read entire article »

Filed under: Utilities