How to create a stored program unit?
Answer / Upendra Pandey
To create a stored program unit (PL/SQL block, function, package, etc.) in Oracle, you can use the `CREATE [OR REPLACE] [PROCEDURE | FUNCTION | PACKAGE | ...]` statement. For example, to create a simple PL/SQL procedure, you can use: `CREATE OR REPLACE PROCEDURE my_proc IS BEGIN DBMS_OUTPUT.PUT_LINE('Hello World!'); END; /`.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is Index and different types of Indexes?
I have created one package with out procedures in package specification and in package body i have used 2 procedures. is it compile????
You have one employee table having 3 entries emp_id, Mgr_id and salary. Mgr_id is also referencing emp_id. so now find out the emp_id which are having the second highest salary, under a particular manager.
how do u setup a replication site?
How can one skip any number of rows while loading the DB tables with SQL Loader? Similarly how can one skip any column?
How would you extract DDL of a table without using a GUI tool?
How to start your 10g xe server?
What is a dynamic performance view in oracle?
What is SQL Tuning Advisor in Oracle?
what is the difference between UNION AND UNIONALL
can u call user defined functions in select statements
What is bulk copy or bcp in oracle?