0% found this document useful (0 votes)
96 views1 page

Top Answers To PL-SQL Interview Questions

PL/SQL is a procedural language that allows both SQL queries and procedural programming constructs like conditionals and loops. It uses a block structure as its basic structure. Database triggers are PL/SQL programs associated with database tables that can be used for auditing, logging, enforcing business rules, maintaining replicas, and more. The PL/SQL compilation process includes syntax checking, binding variables to storage addresses, and generating p-code instructions for the PL/SQL engine.

Uploaded by

Sumit K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views1 page

Top Answers To PL-SQL Interview Questions

PL/SQL is a procedural language that allows both SQL queries and procedural programming constructs like conditionals and loops. It uses a block structure as its basic structure. Database triggers are PL/SQL programs associated with database tables that can be used for auditing, logging, enforcing business rules, maintaining replicas, and more. The PL/SQL compilation process includes syntax checking, binding variables to storage addresses, and generating p-code instructions for the PL/SQL engine.

Uploaded by

Sumit K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Top Answers to PL-SQL Interview Questions

1. Compare SQL & PL/SQL


Criteria SQL PL/SQL
Single query or command
What it is Full programming language
execution
What it Data source for reports, Application language to build, format and
comprises web pages display report, web pages
Characteristic Declarative in nature Procedural in nature
Used for Manipulating data Creating applications
2. What is PL/SQL?

Oracle PL/SQL is a procedural language that has both interactive SQL and procedural
programming language constructs such as iteration, conditional branching.

3. What is the basic structure of PL/SQL?

PL/SQL uses block structure as its basic structure. Anonymous blocks or nested blocks can
be used in PL/SQL.

Download PL/SQL Interview Questions asked by top MNCs in 2017

GET PDF
4. Explain the uses of database trigger?

A PL/SQL program unit associated with a particular database table is called a database
trigger. It is used for :

Audit data modifications.


Log events transparently.
Enforce complex business rules.
Maintain replica tables
Derive column values
Implement Complex security authorizations

Any of the constant, variable or parameter has a data type depending on which the storage
constraints, format and range of values and operations are determined.

5. How is a process of PL/SQL compiled?

Compilation process includes syntax check, bind and p-code generation processes.Syntax
checking checks the PL/SQL codes for compilation errors. When all errors are corrected, a
storage address is assigned to the variables that hold data. It is called Binding. P-code is a list
of instructions for the PL/SQL engine. P-code is stored in the database for named blocks and
is used the next time it is executed.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy