-
Drop Vs Truncate
Which is faster, Drop or Truncate? Explain
-
What are the components of a PL/SQL block ?
A set of related declarations and procedural statements is called block.
-
-
PL/SQL Triggers
How many types of PL/SQL Triggers are there? What are they?
-
Compiling Specification Part and Body Part
If have 5 procedures in my specification part and used 4 in my body part while compiling will it throw error or not?
-
-
Find the Impact for Procedure Change
How do you find the impact for the change and how to find the tables which are connected to this procedure or package?
-
-
Create an anonymous PL/SQL block to enroll a Student
Create an anonymous PL/SQL block to enroll a student in a particular class. You will use the ENROLLMENTS table. Accept a STU_ID and CLASS_ID as input parameters. Use "today's date" for the ENROLLMENT_DATE and the string "Enrolled" for the STATUS.
-
Hidden Package
How can we hide a package from other users?
-
Global Temporary Table
What is Global temporary table? and what are the benefits of it?
-
-
Create Package body with one private subprogram only without package specification
Case 1:
Create package with body only it contains only one private sub program
CREATE PACKAGE BODY no_spec AS
PROCEDURE myproc AS BEGIN null;
END;
END no_spec;
/
Case 2:
Create package with body only it contains no sub programs
CREATE PACKAGE BODY no_spec AS
END no_spec;
/ -
-
What is Simple Cursor? and What is Parametrized cursor?
Explain what is Simple Cursor and What is Parameterized Cursor? And Difference between both??
-
How do you set table for read only access ?
if i am updating one record in a table at that time no other user can't able insert ,update the record in same table How is it possible
-
-
Why do we need Package?
If I create N number of small procedures with one PL/SQL block (or) procedure why we need package?
-
RANK TRANSFORMATION TYPE and RANGE by PARTITION
Difference between RANK TRANSFORMATION TYPE and RANGE by PARTITION. Simple Code in loading data into FACT Table using the above Two methods
-
Procedure Vs Function
Explain when do we use a Procedure and when do we prefer using functions.
PL/SQL Interview Questions
Ans