Results 1 to 4 of 4

Thread: Call export from PL SQL

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    1

    Call export from PL SQL

    I need to be able to perform an export from a plsql procedure. Has anyone ever done this or called a command file or something like this.


  2. #2
    Junior Member
    Join Date
    Feb 2008
    Answers
    1

    Re: Call export from PL SQL

    Quote Originally Posted by harryc View Post
    I need to be able to perform an export from a plsql procedure. Has anyone ever done this or called a command file or something like this.
    hi harry,
    you can use UTL_FILE to write external files. before that u must create a directory in oracle server.if your application server is seperate from db server then you should allow your application to read from the db server.

    the data you want to export should be brought through a cursor and then UTL_FILE be used.however if there are large data for export then system performance issues will creep in.

    hope this solves your purpose.

    regards,
    jit


  3. #3

    Re: Call export from PL SQL

    use DBMS_DATAPUMP the best one to import or export from a pl/sql package


  4. #4
    Junior Member
    Join Date
    Feb 2008
    Answers
    28

    Re: Call export from PL SQL

    hi all

    @jit_mum

    harry asked for how to export data from plsql procedures. means how to invoke the process what we do in command prompt ( exp scott/tiger@dba1 file=new.dmp .....like that ) from plsql procedure. i am also interested in knowing it. but you told how to send data( directly from tables) to external files. This is not what we are expecting....any way you have posted valuable information, i also did R&D on 'Dealing with external file from PlSql' few months ago.


    @expertsharingdotcom

    well said, but you are talking about 10g, can you tell how to do it in 8i or 9i....any one.........


    Jaya

    Last edited by jaya_geek; 02-19-2008 at 02:22 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact