Apr 27, 2004 #1 lelo25 Technical User Nov 13, 2003 40 LB Hello, Is there a way to Analyze table statement in Forms ? RGDS,
Apr 28, 2004 #3 HimanB IS-IT--Management Nov 25, 2002 231 IN Hi, FORMS_DDL will not work. Make a Stored procedure with following code & call it in your form. Procedure xxx (P_TNAME VARCHAR2,P_ERROR VARCHAR2)IS a varchar2(1000):='ANALYZE TABLE '||TNAME||' COMPUTE STATISTICS '; BEGIN EXECUTE IMMEDIATE A; P_ERROR :='SUCCESS'; EXCEPTION WHEN OTHERS THEN P_ERROR :=SQLERRM; END; Regards Himanshu Upvote 0 Downvote
Hi, FORMS_DDL will not work. Make a Stored procedure with following code & call it in your form. Procedure xxx (P_TNAME VARCHAR2,P_ERROR VARCHAR2)IS a varchar2(1000):='ANALYZE TABLE '||TNAME||' COMPUTE STATISTICS '; BEGIN EXECUTE IMMEDIATE A; P_ERROR :='SUCCESS'; EXCEPTION WHEN OTHERS THEN P_ERROR :=SQLERRM; END; Regards Himanshu