Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> EXECUTING DOS COMMAND IN A STORED PROC?

EXECUTING DOS COMMAND IN A STORED PROC?

From: Bunyamin K. Karadeniz <bunyamink_at_havelsan.com.tr>
Date: Wed, 27 Jun 2001 08:09:38 -0700
Message-ID: <F001.00339F04.20010627070730@fatcity.com>

Hi gurus,
I want to create a stored procedure to move some files to a different location.
 

CREATE OR REPLACE PROCEDURE  move_file
(file_name varchar2) IS
begin
host copy  <FONT face=Arial
size=2>C:\file_name.txt D:\file_name.txt; end;
/
 

But does not recognize COPY command
here.
How can I do that??
 

Thank you
 
Received on Wed Jun 27 2001 - 10:09:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US