how to create a txt file from PL/SQL procedure

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bsathishmca
    New Member
    • Aug 2008
    • 3

    how to create a txt file from PL/SQL procedure

    Hi,

    I have a procedure that contains a varchar2 variable,now i need to create a text file in from procedure and move varchar2 content into the file.

    Can any one help?

    Thanks in advance
  • amitpatel66
    Recognized Expert Top Contributor
    • Mar 2007
    • 2358

    #2
    Check UTL_FILE PACKAGE

    Comment

    • bsathishmca
      New Member
      • Aug 2008
      • 3

      #3
      Originally posted by amitpatel66

      Hi,

      I am using oracle client.I need to create text file in my system using Utl_File.File_T ype.how to give dir path?

      Comment

      • amitpatel66
        Recognized Expert Top Contributor
        • Mar 2007
        • 2358

        #4
        Check here
        .

        Comment

        Working...