create directory some_dir;
grant read, write on directory some_dir to micky_mouse;
create or replace directory dir_temp as 'c:\temp';
declare
f utl_file.file_type;
begin
f := utl_file.fopen('DIR_TEMP', 'something.txt', 'w');
utl_file.put_line(f, 'line one: some text');
utl_file.put_line(f, 'line two: more text');
utl_file.fclose(f);
end;
/
ที่มา: http://www.adp-gmbh.ch/ora/sql/create_directory.html
ようこそ (Jyokoso) MY BLOG
いらっしゃいませ (hajimemashite) สำหรับผู้เข้าใหม่นะค่ะ ^^V
06 มกราคม 2555
EX.สร้าง directory เก็บ path และ การใช้คำสั่ง อ่าน file
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
Laser Pointer
ตอบลบrcheap jerseys