A package specification that does not need a package body is called a bodiless package. Only subprogram and cursor declarations in a package specification require an underlying implementation in the package body. If a package specification declares only those package constructs that do not require implementation details (e.g., types, constants, variables, exceptions, and call specifications), the corresponding package body does not need to be created. However, the body can be created to initialize constructs declared in the package specification.
Click here to get free oracle-pl-sql Oracle PL/SQL Developer exam practice questions. Pass Oracle 1Z0-147 - Oracle9i: Program with PL/SQLArchive for the ‘Oracle PL/SQL Developer’ category
What is a bodiless package?
October 30th, 2009OCP 1z0-047 Short Notes: Exam passing tips
October 3rd, 2009- /*…*/ and — are used to put comments in an Oracle program.
- The CREATE TABLE does not end immediately with a semicolon, and a column name cannot start with a numeric value. However, a numeric value can be used in between a column name.
What is the REMOTE_OS_AUTHENT parameter?
September 30th, 2009The REMOTE_OS_AUTHENT parameter in the parameter file of the database specifies whether remote clients will be authenticated with the value of the OS_AUTHENT_PREFIX parameter or not. The type of the REMOTE_OS_AUTHENT parameter is Boolean, the default value is false, and the parameter class is static. The REMOTE_OS_AUTHENT parameter is case sensitive on some operating systems. The flow diagram below may help a user understand the role of the REMOTE_OS_AUTHENT parameter for a remote database:
What is DBMS_SESSION PL/SQL package?
September 8th, 2009The DBMS_SESSION PL/SQL package is used to provide access to the ALTER SESSION and ALTER SYSTEM statements. This package is also used for gathering session related information. The DBMS_SESSION PL/SQL package uses the privileges of the user executing this package, instead of using privileges of the user SYS.
- Download practice question and study guide for oca-dba10g for exam.
- Download free practice test for Oracle OCA DBA 11g exam.
- Click here to download oca-dba9i test study guide and practice question.
- Become Oracle OCA PL/SQL Developer certified.
- Get certified in first attempt download ocp-dba10g - OCP DBA 10g simulation.
- Become Oracle OCP DBA 11g certified.
- Become Oracle OCP DBA 9i certified.
- Best exam simulation Oracle ocp-pl-sql download free trial.
- Best exam simulation Oracle ocm-10g download free trial.
- Download free practice test for Oracle Oracle PL/SQL Developer exam.
- Become Oracle Performance Tuning Expert 11g certified.
- Pass RAC Certified Expert 10g in first attampt.
- Best exam simulation Oracle sql-certified-expert-10g download free trial.
- Click here to download sql-certified-expert-11g test study guide and practice question.
- Download free practice test for 1Z0-033 Oracle9i DB: Performance Tuning exam.
- Download free practice test for 1Z0-042 Oracle Database 10g: Admin - I exam.
- Pass Oracle 1Z0-047 - Oracle Database SQL Expert
- Download practice question and study guide for 1Z0-051 for exam.
What is the UTL_TCP Oracle supplied package?
September 6th, 2009What is local dependency?
September 6th, 2009In case of local dependencies, the objects are on the same node in the database. The Oracle server automatically manages all local dependencies by using the database’s internal “depends-on” table. When a referenced object is modified, the dependent objects are invalidated. The next time an invalidated object is called, the Oracle server automatically recompiles it. If the automatic recompilation of the object fails, it remains invalid and Oracle server returns a run-time error.
When is the recompilation of a dependent procedure or function successful?
September 6th, 2009If the definition of a referenced table is altered, the dependent procedures and functions become invalid. The dependent procedures and functions need implicit or explicit recompilation in order to become valid.
The recompilation of a dependent procedure or function is successful in the following cases:
What is the %TYPE attribute?
September 5th, 2009When a PL/SQL variable is declared to hold column values, it must be ensured that the variable is of the correct datatype and precision. If not, a PL/SQL error occurs during execution. Rather than explicitly specifying the datatype and precision of a variable, the %TYPE attribute can be used to declare a variable according to another previously declared variable or database column.
What is a subprogram?
September 5th, 2009A subprogram is a named PL/SQL block that can accept parameters and be invoked. There are two types of subprograms: procedures and functions. A procedure is generally used to perform an action, and a function is used to compute a value. Subprograms can be stored at the server or application level. By using Oracle Developer components (Forms, Reports, and Graphics), procedures and functions can be declared as part of an application (a form or report) and be called from other procedures, functions, and triggers within the same application whenever necessary.
What is the syntax for creating a procedure?
September 5th, 2009Following is the syntax for creating a procedure:
[(parameter [mode] datatype, parameter [mode] datatype, ……)]
IS | AS
PL/SQL block;
where,