Oracle Programmatic Constructs

  Home  Oracle  Oracle Programmatic Constructs


“Programmatic Constructs Frequently Asked Questions in various Oracle Programmatic Constructs Interviews asked by the interviewer. So learn Programmatic Constructs with the help of this Oracle Programmatic Constructs Interview questions and answers guide and feel free to comment as your suggestions, questions and answers on any Oracle Programmatic Constructs Interview Question or answer by the comment feature available on the page.”



11 Oracle Programmatic Constructs Questions And Answers

1⟩ Explain What are the advantages of having a Package?

Increased functionality (for example,global package variables can be declared and used by any proecdure in the package) and performance (for example all objects of the package are parsed compiled, and loaded into memory once)

 149 views

3⟩ Explain What are Oracle Schema Objects?

Schema objects are the logical structures that directly refer to the databases data.

Schema objects include tables, views, sequences, synonyms, indexes, clusters, database triggers, procedures, functions packages and database links.

 166 views

4⟩ Explain the uses of Database Trigger?

Database triggers can be used to automatic data generation, audit data modifications, enforce complex Integrity constraints, and customize complex security authorizations.

 136 views

5⟩ Explain What is a Package?

A Package is a collection of related procedures, functions, variables and other package constructs together as a unit in the database.

package is collection of logicaly related procedure,funtion,varialbles

wich are stored all togther.Package implemnt the concept of Object orintation Encalsulatio,Datahiding andd polymorphism disadvantage of the package when a single function or procedure is called from package it also compiles all its related obejcts and get it store in SGA.

 146 views

6⟩ Explain What is Database Trigger?

A Database Trigger is procedure (set of SQL and PL/SQL statements) that is automatically executed as a result of an insert in,update to, or delete from a table.

 158 views

8⟩ Explain What is a Procedure?

A Procedure consist of a set of SQL and PL/SQL statements that are grouped together as a unit to solve a specific problem or perform a set of related tasks.

Procedure is pl/sql subprogram that can accept parameters and can be invoked form calling enviourment.Procedures are created to perform actions on an applications

 172 views

9⟩ Explain What is an Oracle Data Block?

ORACLE database's data is stored in data blocks. One data block corresponds to a specific number of bytes of physical database space on disk.

Oracle database consists of logical storage place which is called as blocks and the bytes in a block is set through DB_BLOCK parameter in parameter file

 158 views

10⟩ Explain What are the differences between Database Trigger and Integrity constraints?

A declarative integrity constraint is a statement about the database that is always true. A constraint applies to existing data in the table and any statement that manipulates the table. A trigger does not apply to data loaded before the definition of the trigger, therefore, it does not guarantee all data in a table conforms to the rules established by an associated trigger. A trigger can be used to enforce transitional constraints where as a declarative integrity constraint cannot be used.

 180 views