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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Text Index Error DRG-11513

Re: Oracle Text Index Error DRG-11513

From: Captain <kanglinonyx_at_hotmail.com>
Date: 5 Jan 2006 07:26:27 -0800
Message-ID: <1136474787.699523.300260@f14g2000cwb.googlegroups.com>


I've run a script to test for the existence of those files (using Toad). This was an effort to test whether those files were accessible. DECLARE

  	--after creating the directory executed this script
                --consistently getting "file does not exist" due to
v_file value of zero
	 v_file BFILE := BFILENAME('THE_FILE2','letterhead_hi.dot');
	 BEGIN

	 	  IF DBMS_LOB.FILEEXISTS (v_file) = 1 THEN
		  	 DBMS_OUTPUT.PUT_LINE ('File exists.');
		  ELSIF DBMS_LOB.FILEEXISTS (v_file) = 0 THEN
		  	 DBMS_OUTPUT.PUT_LINE ('File does not exist '
||DBMS_LOB.FILEEXISTS (v_file) );
		  ELSE
		     DBMS_OUTPUT.PUT_LINE ('Unable to test existence');
		  END IF;
	 EXCEPTION
	 	WHEN OTHERS THEN
			 DBMS_OUTPUT.PUT_LINE('error happened on ! '||
dbms_lob.fileexists(v_file));
	 END;

The permissions issue has been ruled out already and there doesn't appear to be much available on the subject. Not to mention a solution that might be readily applied by an Oracle novice. Three of the files are pdf's (training manuals) and the other is a letterhead template. Re-checked the permissions and no reason for error found there. Any help is greatly appreciated. Received on Thu Jan 05 2006 - 09:26:27 CST

Original text of this message

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