-
What is difference between a Cursor declared in a procedure and Cursor declared in a package specification ?
A cursor declared in a package specification is global and can be accessed by other procedures or procedures in a package.A cursor declared in a procedure is local to the procedure that can not be accessed by other procedures.
-
-
-
Function which returns previous business date of given input date
How can I write a function which returns previous business date of given input date1. skip holidays when you find previous day2. skip Sunday and saturday's when you find previous dayUS holidays are defined in HOLIDAYS tabledate, holiday_desc1-Jan-2007 New Year
-
-
-
-
-
-
-
-
-
-
-
-
-
What are the PL/SQL Statements used in cursor processing ?
DECLARE CURSOR cursor name, OPEN cursor name, FETCH cursor name INTO or Record types, CLOSE cursor name.
-
-
How to export SQL XML using SQL or PLSQL or dynamic SQL for Oracle data from Oracle database.
For example: I have 100's of tables and I need to take the data from database and export as a xml file.
-
PL/SQL Interview Questions
Ans