file I/O operations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • potti
    New Member
    • May 2007
    • 8

    file I/O operations

    hi I am new to this group.can u pl help me in using file I/O operations,when i try to fetch data from flat file to table it is giving message like"invalid path directory".Is it necessary to have access on that directory?which one is better to fetch data from external file SQLLOADER or fopen() ?pl give syntax for fopen().
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    use the predefined package ----------- UTL_FILE

    Comment

    • potti
      New Member
      • May 2007
      • 8

      #3
      Originally posted by debasisdas
      use the predefined package ----------- UTL_FILE
      hi debasis, thanks for ur prompt response.when I am using the UTL_FILE package only it is giving error like 'Invalid directory path name' when i try to give the path of that file.what to do?

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        Can u kindly post your code please.

        Comment

        • Saii
          Recognized Expert New Member
          • Apr 2007
          • 145

          #5
          you can SQLLOADER for the same. That does not require you to create any directory object.
          If you use UTL_FILE, then you need to create a directory object to specify the location of file.

          Comment

          • frozenmist
            Recognized Expert New Member
            • May 2007
            • 179

            #6
            Hi Saii,
            How can I contact you? You have disabled PM and email, That is why...

            Comment

            • sphanimohan
              New Member
              • Jun 2007
              • 1

              #7
              Hi....
              If you want know about UIL_FILE,
              here is the path

              http://www.oreilly.com/catalog/oraclebip/chapter/ch06.html

              may it will help you.

              Comment

              • potti
                New Member
                • May 2007
                • 8

                #8
                Originally posted by sphanimohan
                Hi....
                If you want know about UIL_FILE,
                here is the path

                http://www.oreilly.com/catalog/oraclebip/chapter/ch06.html

                may it will help you.
                Thanks phanimohan,this site is of great help for me

                Comment

                • Saii
                  Recognized Expert New Member
                  • Apr 2007
                  • 145

                  #9
                  Originally posted by frozenmist
                  Hi Saii,
                  How can I contact you? You have disabled PM and email, That is why...
                  hi,

                  u can post the questions here

                  Comment

                  • frozenmist
                    Recognized Expert New Member
                    • May 2007
                    • 179

                    #10
                    Hi Saii,
                    Its not a question. Would you be interested in taking up responsibility as an expert?
                    Please do reply
                    Cheers

                    Comment

                    Working...