For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
Hi, I like to know how many servers will exist for HFM and Essbase in real time, How environments allocated in those servers and How often backups will be taken?
CREATE TABLE lob_table (id NUMBER, doc BLOB); INSERT INTO lob_table VALUES (1, EMPTY_BLOB()); DECLARE src_lob BFILE := BFILENAME('MY_DIR', '/tmp/me.gif'); dest_lob BLOB; BEGIN INSERT INTO lob_table VALUES(2, EMPTY_BLOB()) RETURNING doc INTO dest_lob; DBMS_LOB.OPEN(src_lob, DBMS_LOB.LOB_READONLY); DBMS_LOB.LoadFromFile( DEST_LOB => dest_lob, SRC_LOB => src_lob, AMOUNT => DBMS_LOB.GETLENGTH(src_lob) ); DBMS_LOB.CLOSE(src_lob); COMMIT; END; /
CONN / AS SYSDBA CREATE OR REPLACE DIRECTORY IMAGES ost/'; GRANT READ, WRITE ON DIRECTORY images TO db_user_name;
DECLARE l_dir VARCHAR2(10) := 'IMAGES'; -------Is the Directory Object Created Above. l_file VARCHAR2(20) := 'site_logo.gif'; ------ Is the BLOB File that is present in the Directory mentioned. l_bfile BFILE; l_blob BLOB; BEGIN INSERT INTO images (id, name, image) VALUES (1,l_file, empty_blob()) RETURN image INTO l_blob; l_bfile := BFILENAME(l_dir, l_file); DBMS_LOB.fileopen(l_bfile, DBMS_LOB.file_readonly); DBMS_LOB.loadfromfile(l_blob, l_bfile, DBMS_LOB.getlength(l_bfile)); DBMS_LOB.fileclose(l_bfile); COMMIT; END;