Sorry saya ambil dari milis sebelah, mungkin bisa dipakai utk 
referensi:

http://tech.groups.yahoo.com/group/oraid/message/8159

Bowo

--- In [email protected], "Firman H.M." <[EMAIL PROTECTED]> 
wrote:
>
> saran saya, anda pakai package utl_file, prosedurnya secara garis 
seperti
> ini
> 
> declare
> v_file  utl_file.file_type;
> v_buff  varchar2(32767);
> begin
>    v_file := utl_file.fopen('c:\2006\', 'abc.sql', 'r');
>    loop
>         utl_file.get_line(v_file, v_buffer);
>         dbms_output.put_line(v_buffer);
>    end loop;
> exception
>    when no_data found
>         utl_file.fclose(v_file);
> end;
> 
> semoga membantu,
> 
> CMIIW
> -firman-
> 
> 2007/2/8, agus purwanto <[EMAIL PROTECTED]>:
> >
> >   salam,
> >
> > saya punya file yang dibagi menjadi beberapa folder (dalam tahun) 
spt ini
> > :
> > c:\2006
> > c:\2007
> >
> > di dalam folder tsb, saya simpan beberapa file.
> > kemudian saya mencari file menggunkan sql, saya temukan abc.xls.
> > file ini saya taruh di c:\2006\abc.xls
> >
> > bgmn saya menampilkan file tsb dgn menggunakan sql plus?
> > kalo menggunakan dos prompt syntaxnya spt ini
> > " dir abc.xls /s /p "
> >
> > terima kasih,
> > ags
> >
> >
> > ---------------------------------
> > Don't pick lemons.
> > See all the new 2007 cars at Yahoo! Autos.
> >
> > [Non-text portions of this message have been removed]
> >
> >  
> >
> 
> 
> 
> -- 
> Firman HM
> PT. Xsis Mitra Utama
> Graha BIP 7th  Floor Jl. Jend. Gatot Subroto Kav.23 Jakarta 12930 -
> Indonesia
> Tel  : +62-21-5210565  Hotline : +62-21-5210564    Fax : +62-21-
5229777
> 
> 
> [Non-text portions of this message have been removed]
>


Kirim email ke