Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> uploade using pl/sql gateway, ias
applogies for posting this in the DBA forum...
list, i'm uploading files from my client browser to the database using the
pl/sql gateway (mod pl/sql)
on ias. Everything is working, but i cannot find the procedure which
actually uploads the file!!! the upload
procedure is simply.. a procedure that dosnt do anything, it's jsut called
!!
PROCEDURE upload_doc(name IN owa.vc_arr) IS
BEGIN
htp.p('uploaded');
END;
now i hv made the name of the documents as a PK in the document table.. and
when uploading the same document again,
i want to display an eror... but where to put that pl/sql code to display
the error ???? i hv tried writing the expection
in the above procedure.. but seems like this procedure is called AFTER the
file is magically uploaded in the DB !!
TIA
-rahul
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: rahul sharma
INET: rahul_at_infotech.co.id
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting servicesto: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed May 28 2003 - 02:29:50 CDT
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message