-
Explicit cursor and Select into statement
What is the difference between an explicit cursor and select into statement?
-
What is PL/SQL table ?
Objects of type TABLE are called "PL/SQL tables", which are modeled as (but not the same as) database tables, PL/SQL tables use a primary PL/SQL tables can have one column and a primary key. Cursors
-
-
What is the output of the following pl/sql block ?declare v_empno emp.empno%type;begin select empno into v_empno from emp where empno = 10;exception when others then dbms_output.put_line ( 'no data found'); when no_data_found then dbms_output.put_line ( 'ther is no data found ');end;
when others then *ERROR at line 6:ORA-06550: line 6, column 2:PLS-00370: OTHERS handler must be last among the exception handlers of a blockORA-06550: line 0, column 0:PL/SQL: Compilation unit analysis terminated
-
SQL Statments in Packages
If you have to call same piece of code at many places in a package, How do you achieve this without calling the function many times?
-
-
Recreating and Rebuilding Indexes
What is recreating and rebuiding of indexes?
-
PL/SQL Synonym
What are the advantage of Synonym in PL/SQL
-
Package Without Body
What is the use of a package without body?
-
-
Status of Procedure
If a procedure is referring a table and if the structure of the table is changed, lets say data type of the any column is changed, then is it possible that the status of the procedure remains valid? Explain
-
Package Function
You have a package called A and one function in that packgae called XYZ.If you need to call that function in second packaged B, How will you call?
-
-
-
-
Debugging Dynamic SQL
What is the best technique of debugging large and fragmented dynamic SQL.
-
-
-
Bulk Data Operations
You are developing a PL/SQL block designed for bulk data operations. When attemping to store table data for multiple rows in a PL/SQL variable, which one of the following choices identifies the mechanism best suited for this task (choose one)? A. cursorB. varchar2C. recordD. table of records
-
How packaged procedures and functions are called from the following?
a. Stored procedure or anonymous block b. an application program such a PRC *C, PRO* COBOL c. SQL *PLUS a. PACKAGE NAME.PROCEDURE NAME (parameters); variable := PACKAGE NAME.FUNCTION NAME (arguments); EXEC SQL EXECUTE ...
PL/SQL Interview Questions
Ans