How To Declare a Local Variable?
Submitted by: AdministratorA local variable can be defined in the declaration part with a declaration statement, which is a variable name followed a data type identifier. Below are some examples of declaration statements:
PROCEDURE proc_var_1 AS
domain VARCHAR2(80);
price REAL;
is_for_sale CHAR;
BEGIN
-- Executable statements
END;
Submitted by: Administrator
PROCEDURE proc_var_1 AS
domain VARCHAR2(80);
price REAL;
is_for_sale CHAR;
BEGIN
-- Executable statements
END;
Submitted by: Administrator
Read Online Oracle Database Job Interview Questions And Answers
Top Oracle Database Questions
☺ | What Is Input Buffer in SQL*Plus? |
☺ | How To Create a Stored Procedure in Oracle? |
☺ | What Is an Oracle User Account? |
☺ | What Happens to Indexes If You Drop a Table? |
☺ | How Oracle Handles Dead Locks? |
Top DB Oracle Categories
☺ | Oracle PL-SQL Interview Questions. |
☺ | Oracle DBA Interview Questions. |
☺ | Oracle D2K Interview Questions. |
☺ | OCI Interview Questions. |
☺ | Forms Reports Interview Questions. |