Using this Method we can easily check conditions instead of testing these scenarios in IF-ELSE condition .
---Example of Storing Expression Value in PLSQL
Example of JAVA Code
Oracle Tutorial, We have covered all Oracle articles which includes Oracle Database, Application, Framework, Oracle HRM, ADF Training and Financial Training. Further more we have queries and scripts for Oracle EBS Modules.
CREATE OR REPLACE TYPE HTML_OBJ_Record is object (Body_String Clob)
CREATE OR REPLACE TYPE HTML_OBJ AS OBJECT (
HTML_Record HTML_OBJ_Record,
MEMBER PROCEDURE init( SELF IN OUT NOCOPY HTML_OBJ)
)
CREATE OR REPLACE TYPE BODY HTML_OBJ AS
MEMBER PROCEDURE init (SELF IN OUT NOCOPY HTML_OBJ) IS
BEGIN
SELF.HTML_Record:=new HTML_OBJ_Record(null);
SELF.HTML_Record.body_string:='Hello';
END;
END;
declare
html HTML_OBJ;
begin
html := new HTML_OBJ(null);
DBMS_OUTPUT.put_line('=> '||html.HTML_Record.body_string);
html.init();
DBMS_OUTPUT.put_line('=> '||html.HTML_Record.body_string);
end;
Syntax: EXECUTE IMMEDIATE 'User_Code';
This is the basic requirement when we are working with oracle OAF. In which we need to removed the all rows from the table. The best use ca...