InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 601. |
Give Two Examples Of Referential Integrity Constraints. |
|
Answer» A PRIMARY KEY and a FOREIGN key. A primary key and a foreign key. |
|
| 603. |
Give The Reasoning Behind Using An Index. |
|
Answer» FASTER ACCESS to DATA BLOCKS in a table. Faster access to data blocks in a table. |
|
| 604. |
Compare And Contrast Truncate And Delete For A Table. |
|
Answer» Both the truncate and delete command have the DESIRED outcome of getting rid of all the rows in a table. The difference between the two is that the truncate command is a DDL OPERATION and just moves the high water MARK and produces a now rollback. The delete command, on the other HAND, is a DML operation, which will produce a rollback and THUS take longer to complete. Both the truncate and delete command have the desired outcome of getting rid of all the rows in a table. The difference between the two is that the truncate command is a DDL operation and just moves the high water mark and produces a now rollback. The delete command, on the other hand, is a DML operation, which will produce a rollback and thus take longer to complete. |
|
| 605. |
Where Would You Look For Errors From The Database Engine? |
|
Answer» In the alert log. |
|
| 606. |
Give Two Examples Of How You Might Determine The Structure Of The Table Dept. |
|
Answer» USE the DESCRIBE COMMAND or use the dbms_metadata.get_ddl PACKAGE. Use the describe command or use the dbms_metadata.get_ddl package. |
|
| 607. |
How Do You Switch From An Init.ora File To A Spfile? |
|
Answer» ISSUE the CREATE SPFILE from PFILE COMMAND. Issue the create spfile from pfile command. |
|
| 608. |
You Have Just Had To Restore From Backup And Do Not Have Any Control Files. How Would You Go About Bringing Up This Database? |
|
Answer» I WOULD create a TEXT based backup control file, stipulating where on disk all the data files where and then issue the RECOVER command with the using backup control file CLAUSE. I would create a text based backup control file, stipulating where on disk all the data files where and then issue the recover command with the using backup control file clause. |
|
| 609. |
How You Will Avoid Duplicating Records In A Query? |
|
Answer» By using DISTINCT. |
|
| 610. |
What Is A Cursor For Loop? |
|
Answer» Cursor For Loop is a loop where ORACLE IMPLICITLY DECLARES a loop variable, the loop INDEX that of the same record type as the cursor's record. Cursor For Loop is a loop where oracle implicitly declares a loop variable, the loop index that of the same record type as the cursor's record. |
|
| 611. |
Difference Between Database Triggers And Form Triggers? |
|
Answer» -Data base trigger(DBT) FIRES when a DML OPERATION is performed on a data base table. Form trigger(FT) Fires when user presses a key or navigates between fields on the screen -Data base trigger(DBT) fires when a DML operation is performed on a data base table. Form trigger(FT) Fires when user presses a key or navigates between fields on the screen |
|
| 612. |
What Is Syntax For Dropping A Procedure And A Function Are These Operations Possible? |
|
Answer» DROP PROCEDURE procedure_name. Drop Procedure procedure_name. |
|
| 613. |
Difference Between Procedure And Function.? |
|
Answer» FUNCTIONS are NAMED PL/SQL BLOCKS that return a value and can be called with arguments PROCEDURE a named block that can be called with parameter. A procedure all is a PL/SQL statement by itself, while a Function call is called as PART of an expression. Functions are named PL/SQL blocks that return a value and can be called with arguments procedure a named block that can be called with parameter. A procedure all is a PL/SQL statement by itself, while a Function call is called as part of an expression. |
|
| 614. |
What Are The Responsibilities Of A Database Administrator ? |
|
Answer» Installing and upgrading the Oracle Server and application tools. Allocating system storage and planning future storage requirements for the database system. Managing primary database structures (TABLESPACES) Managing primary objects (table,views, indexes) Enrolling users and MAINTAINING system security. Ensuring compliance with Oralce license agreement Controlling and monitoring user access to the database. Monitoring and optimizing the performance of the database. Planning for backup and recovery of database information. Maintain archived data on tape Backing up and restoring the database. CONTACTING Oracle Corporation for technical SUPPORT. Installing and upgrading the Oracle Server and application tools. Allocating system storage and planning future storage requirements for the database system. Managing primary database structures (tablespaces) Managing primary objects (table,views, indexes) Enrolling users and maintaining system security. Ensuring compliance with Oralce license agreement Controlling and monitoring user access to the database. Monitoring and optimizing the performance of the database. Planning for backup and recovery of database information. Maintain archived data on tape Backing up and restoring the database. Contacting Oracle Corporation for technical support. |
|
| 615. |
What Are The Values That Can Be Specified For Optimizer Mode Parameter ? |
|
Answer» COST and RULE. |
|
| 616. |
What Is Execution Plan ? |
|
Answer» The COMBINATIONS of the STEPS the optimizer CHOOSES to execute a statement is called an EXECUTION plan. The combinations of the steps the optimizer chooses to execute a statement is called an execution plan. |
|
| 617. |
What Is The Function Of Optimizer ? |
|
Answer» The goal of the optimizer is to choose the most EFFICIENT WAY to EXECUTE a SQL statement. The goal of the optimizer is to choose the most efficient way to execute a SQL statement. |
|
| 618. |
What Is Rule-based Approach To Optimization ? |
|
Answer» CHOOSING an executing planbased on the ACCESS paths available and the ranks of these access paths. Choosing an executing planbased on the access paths available and the ranks of these access paths. |
|
| 619. |
What Is A Trace File And How Is It Created ? |
|
Answer» Each server and BACKGROUND process can write an associated trace file. When an internal error is detected by a process or user process, it DUMPS information about the error to its trace. This can be used for TUNING the DATABASE. Each server and background process can write an associated trace file. When an internal error is detected by a process or user process, it dumps information about the error to its trace. This can be used for tuning the database. |
|
| 620. |
What Are The Built-ins To Display The User-named Editor? |
|
Answer» A USER NAMED editor can be DISPLAYED PROGRAMMATICALLY with the BUILT in procedure SHOWEDITOR, EDIT_TETITEM independent of any particular text item. A user named editor can be displayed programmatically with the built in procedure SHOWEDITOR, EDIT_TETITEM independent of any particular text item. |
|
| 621. |
What Does The Term Panel Refer To With Regard To Pages? |
|
Answer» A PANEL is the no. of PHYSICAL PAGES needed to PRINT one logical PAGE. A panel is the no. of physical pages needed to print one logical page. |
|
| 622. |
What Is A Master Detail Relationship? |
|
Answer» A master DETAIL RELATIONSHIP is an association between two base table blocks- a master block and a detail block. The relationship between the blocks REFLECTS a primary KEY to foreign key relationship between the tables on which the blocks are based. A master detail relationship is an association between two base table blocks- a master block and a detail block. The relationship between the blocks reflects a primary key to foreign key relationship between the tables on which the blocks are based. |
|
| 623. |
What Is A Library? |
|
Answer» A LIBRARY is a collection of SUBPROGRAMS INCLUDING user NAMED PROCEDURES, functions and packages. A library is a collection of subprograms including user named procedures, functions and packages. |
|
| 624. |
What Is An Anchoring Object & What Is Its Use? What Are The Various Sub Events A Mouse Double Click Event Involves? |
|
Answer» An ANCHORING object is a PRINT condition object which used to explicitly or IMPLICITLY anchor other OBJECTS to itself. An anchoring object is a print condition object which used to explicitly or implicitly anchor other objects to itself. |
|
| 625. |
What Is The Use Of Break Group? What Are The Various Sub Events A Mouse Double Click Event Involves? |
|
Answer» A BREAK group is USED to DISPLAY ONE record for one group ones. While multiple RELATED records in other group can be displayed. A break group is used to display one record for one group ones. While multiple related records in other group can be displayed. |
|
| 626. |
How Can You Execute The User Defined Triggers In Forms 3.0 ? |
|
Answer» EXECUTE TRIGGER (trigger-name). Execute Trigger (trigger-name). |
|
| 627. |
What Is The Difference Between Name_in And Copy ? |
|
Answer» Copy is package PROCEDURE and writes VALUES into a FIELD. Copy is package procedure and writes values into a field. |
|
| 628. |
What Erase Package Procedure Does ? |
|
Answer» ERASE REMOVES an INDICATED GLOBAL VARIABLE. Erase removes an indicated global variable. |
|
| 629. |
What Is The Optimal Parameter? |
|
Answer» It is USED to SET the optimal length of a ROLLBACK segment. It is used to set the optimal length of a rollback segment. |
|
| 630. |
What Is The Use Of Parfile Option In Exp Command ? |
|
Answer» NAME of the PARAMETER FILE to be PASSED for EXPORT. Name of the parameter file to be passed for export. |
|
| 631. |
What Is An Ole? |
|
Answer» Object Linking & Embedding provides you with the capability to integrate objects from MANY Ms- Windows APPLICATIONS into a single compound DOCUMENT CREATING integrated applications enables you to USE the features form . Object Linking & Embedding provides you with the capability to integrate objects from many Ms- Windows applications into a single compound document creating integrated applications enables you to use the features form . |
|
| 632. |
What Are The Two Parts Of A Procedure ? |
|
Answer» PROCEDURE SPECIFICATION and Procedure BODY. Procedure Specification and Procedure Body. |
|
| 633. |
What Is A Display Item? |
|
Answer» Display ITEMS are SIMILAR to TEXT items but store only fetched or assigned VALUES. Display items are similar to text items but store only fetched or assigned values. |
|
| 634. |
What Are The Two Ways To Incorporate Images Into A Oracle Forms Application? |
|
Answer» BOILERPLATE IMAGES. Boilerplate Images. |
|
| 635. |
What Do You Mean By A Block In Forms4.0? |
|
Answer» Block is a SINGLE MECHANISM for grouping related items into a functional UNIT for storing, displaying and manipulating records. Block is a single mechanism for grouping related items into a functional unit for storing, displaying and manipulating records. |
|
| 636. |
How Can A Cross Product Be Created? |
|
Answer» By SELECTING the CROSS products tool and DRAWING a new group surrounding the base group of the cross products. By selecting the cross products tool and drawing a new group surrounding the base group of the cross products. |
|
| 637. |
What Are The Triggers Available In The Reports? |
|
Answer» Before REPORT, Before FORM, After form , Between PAGE, After report. Before report, Before form, After form , Between page, After report. |
|
| 638. |
Why Is A Where Clause Faster Than A Group Filter Or A Format Trigger? |
|
Answer» Because, in a where CLAUSE the CONDITION is APPLIED during DATA retrievalthan after RETRIEVING the data. Because, in a where clause the condition is applied during data retrievalthan after retrieving the data. |
|
| 639. |
How Does One Load Multi-line Records? |
|
Answer» One can create one logical record from MULTIPLE physical records using one of the following TWO clauses:
One can create one logical record from multiple physical records using one of the following two clauses: |
|
| 640. |
What Is The Use Of Cascade Constraints? |
|
Answer» When this CLAUSE is used with the DROP command, a parent table can be dropped even when a child table exists. When this clause is used with the DROP command, a parent table can be dropped even when a child table exists. |
|
| 641. |
Why Does The Following Command Give A Compilation Error? |
|
Answer» DROP TABLE &TABLE_NAME; VARIABLE NAMES should start with an alphabet. Here the table name STARTS with an '&' symbol. DROP TABLE &TABLE_NAME; Variable names should start with an alphabet. Here the table name starts with an '&' symbol. |
|
| 642. |
Which System Tables Contain Information On Privileges Granted And Privileges Obtained? |
|
Answer» USER_TAB_PRIVS_MADE, USER_TAB_PRIVS_RECD. USER_TAB_PRIVS_MADE, USER_TAB_PRIVS_RECD. |
|
| 643. |
What Is The Advantage Of Specifying With Grant Option In The Grant Command? |
|
Answer» The privilege RECEIVER can further GRANT the PRIVILEGES he/she has OBTAINED from the owner to any other user. The privilege receiver can further grant the privileges he/she has obtained from the owner to any other user. |
|
| 644. |
Which Command Displays The Sql Command In The Sql Buffer, And Then Executes It? |
|
Answer» RUN. RUN. |
|
| 645. |
Which Date Function Is Used To Find The Difference Between Two Dates? |
|
Answer» MONTHS_BETWEEN. MONTHS_BETWEEN. |
|
| 647. |
What Is The Use Of The Drop Option In The Alter Table Command? |
|
Answer» It is USED to DROP CONSTRAINTS SPECIFIED on the table. It is used to drop constraints specified on the table. |
|
| 649. |
What Are The Privileges That Can Be Granted On A Table By A User To Others? |
|
Answer» INSERT, update, DELETE, SELECT, REFERENCES, index, EXECUTE, alter, all. Insert, update, delete, select, references, index, execute, alter, all. |
|
| 650. |
Which Function Is Used To Find The Largest Integer Less Than Or Equal To A Specific Value? |
|
Answer» FLOOR. FLOOR. |
|