DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: How to read content from directories in Oracle

  1. #1
    Join Date
    Aug 2006
    Posts
    1

    How to read content from directories in Oracle

    Hi, I need help with reading content form a text file placed in a certain directory then put the content in acolumn in a table. ie I have 3 tables: i need to create a trigger so that once an invoice is made and a row updated to my invoice table, a cashsale code is picked and using this code a coresponding text file is opened and its contents read into a column in another table.
    how do i do that?

  2. #2
    Join Date
    Apr 2001
    Location
    Czechia
    Posts
    712
    Look at the External Tables
    Ales
    The whole difference between a little boy and an adult man is the price of toys

  3. #3
    Join Date
    Sep 2005
    Posts
    278
    You can use UTL_FILE package to read the text files and do the processing there in rather than in trigger

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width