Vous êtes sur la page 1sur 2

Oracle Questions

Q. 1. What do you mean by ROWID in oracle ?


Ans: ROWID is a hexadecimal string representing the unique address of a row in
its table.
(block.row.file)
Q.2. What is the CURSOR in oracle ?
Ans: The cursor is an user-declared array of records used to identify a query
Q. 3 What do you mean by PACKAGE procedure in oracle ?
Ans: Package is a group of logically related procedures, functions, cursors, va
riable, constants and exception handlers as a unit.
Q.4. What is the term CONSTRAINTS stands for in oracle?
Ans: Constrains are the validations user can enforce on the fields (row) of th
e table while updating them.E.g. null, not null, unique, primary key, foreign k
ey, etc.
q.5. What is an EXCEPTION ?
Ans: Exceptions are errors that arise during the processing of PL/SQL statement
s. It can be oracle generated or application generated.
Q.6. What is the difference between CHAR and VARCHAR2 ?
Ans: Char is a fixed length character data.Varchar2 is a variable length charac
ter string. It takes care of extra variable spaces which are not used
Q.7. What is the difference between DATABASE-TRIGGERS and SQL-FORMS TRIGGERS?
Ans: Database triggers are defined on a table, stored in the associated databas
e and execute as a result of an INSERT, UPDATE or DELETE statement being issued
against a table, no matter what user or application issues the statement. SQL-F
ORMS triggers are part of a SQL-FORMS application and are fired only when a spe
cific trigger point is executed within a SQL-FORMS application, as with any dat
abase application, as with any database application can implicitly cause the fi
ring of any associated database trigger.
Q. 8. How many no. Of queries are required in MATRIX report ?
Ans: Matrix report should consist of exactly three queries.
Q 9. How is the PARENT- CHILD RELATIONSHIP used in report writer ?
Ans: Parent-Child relationship is used to relate the results of multiple querie
s. When a parent query and pairs of matching columns are specified SQL-report
writer retrieves only the rows in the child query that match the rows in the p
arent. The child query is re-executed for each new row retrieved by the parent
query.
Q.10. What does the term SGA (shared global area) stand for in oracle ?
Ans: A database SGA is a memory resident set of buffers and tables and logs th
rough which all transactions between applications and data storage flow.
Q. 11. What id DDL, DML and DCL in oracle ?
Ans: DDL- Data definition Language e.g. Create Alter, Drop
DML- Data Manipulation Language e.g. Insert, Select, Delete, Update
DCL- Data Controlling Language e. G. Commit, Rollback, Savepoint
Q.12. Name different Oracle products available ?
Ans. SQL-Plus - to access the database using SQL Statements :=
SQL-Forms - to create screen based forms to insert, update, delete and query da
ta from the database
SQL-Menu - to develop menu systems for applications
SQL-ReportWriter to generate and format reports.
SQL-Calc - Spreadsheet to manipulate information in the database
SQL-Graph - to display the result of a database query in the form of graphs.
SQL-Module -
SQL-DBA -
SQLNet communication software to manipulate information in a centralised databa
se
Pro-C, Pro-COBOL( ORACLE Precompilers) - set of programs to write programs and
applications in C or COBOL to interact with data in the oracle database through
the use of SQL.
ORACLE Call Interfaces -
Q.13. Calling a SQL-Form from SQL-Menu is possible, but can a SQL-Menu be calle
d from a SQL-Form ?
Ans: Yes.
Q.14. What is a VIEW ?
Ans: A view is a window to view information in the tables that allows differen
t users to see the database differently. It is a virtual table derived from the
specified base table.
Q. 15. What is CLUSTER ?
Ans: Cluster is the way of storing data in prejoined form. It reduces input-ou
tput operations time. It allows ton join the columns to two different databases.
Rows from separate tables will be stored in the same disk block.

Vous aimerez peut-être aussi