You are on page 1of 19

Oracle Question Bank 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. What is an RDBMS ?

what are different Database models ? What is SQL ? What is a transaction ? What is a Commit ? What is a rollback ? What is a DDL ? What is a DML ? What are group functions ? explain each What is locking ? What is deadlocking ? What is a shared lock ? What is a exclusive lock ? What is a shared exclusive lock ? What are clusters ? What is indexing? What is a view? What is a rowid? What is a primary key? What is a unique key ? What is the difference between unique and primary key? What is a foreign key? What are integrity constraint.? What is referencial intigrity ? What are different datatypes ? What is Varchar2 ? How is it different from Char? What is datatype mixing ? What is NULL? What is a sequence ? What are pseudo Columns in ORACLE ? What is a Like operator? How is it different from IN Operator? What are single row number functions in oracle? Give 4 examples and explain What are single row char functions in oracle? Give 4 examples and explain What are Conversion functions in oracle Give 4 examples and explain What are date function ? Give 4 examples and explain What is New_Time function? What is Convert function ? What is Translate function? What is Soundex function ? What is Replace function? What is floor function? What is iIntcap function? What is ASCII function? What is Decode function? What is Greatest function? What is format model in oracle? Give 5 examples of of number and date formats ? What is an expression ? What are 5 forms of expressions ? What is a condition?

What are triggers and stored procedures? 100. How is an array defined in PL/SQL? 58. What is a Block in oracle? 72. What is a log file ? What is it's significance? 86. What is read-consistancy in ORACLE? 76. What is a init file ? What is it's significance? 88. What are exceptions? 61. What is an embedded SQL? 55. What is client –server architecture? Explain the different types? 73. What are background processes? 78. What is an instance? 95. What is explicit Cursors? How is it different from implicit cursor? 54. What is mounting of database? 97. What is SQL*Forms 3. What is a table-space in oracle? 69. What are system Exceptions? 62. What is a control file ? What is it's significance? 87. What are Cursors? 53. What is PL/SQL? 56. How to create a table using SELECT and INSERT statements? 93. What does an UPDATE statement do? 89.0 ? Is it a client or server? . What is two-phase commit? 98. What are snapshots? 99. How to define an cursor in PL/SQL? 60. What is a Schema? 65. What is the use of RollBack segment? 75. What are roles? 67.50. What is a segment in oracle ? explain different types? 74. What is startup and shutdown? 96. What is SYSTEM userid? What does it have? 79. How to create database? 84. What does an SELECT statement do? 91. What is SQLDBA? 82. What is SYS userid? What does it have? 80. What is a profile? 66. What is SGA? 77. What does an INSERT statement do? 92. How to define a variable in PL/SQL? 59. How To delete duplicate rows in a table? 94. What are database files? 85. What is data dictionary in ORACLE? 81. What are PCTFREE and PCTUSED parameters? 71. What does an DELETE statement do? 90. What is a Synonym ? 52. How is the performance improved by PL/SQL in Oracle ? 64. What aer 7 forms of conditions? 51. Who is ORACLE ADMINISTRATOR ? How is he different from DBA ? 83. What is extent? 70. What are packages? 101. How to Define our own exceptions in PL/SQL? 63. How can we alter a user‟s password in oracle? 68. What are the Conditional Constructs of PL/SQL? 57.

102. 124. 113. 104. 129. 119. 125. 126. 127. 110. 106. 123. 134. 130. 105. 108. 116. 103. 135. 137. 112. 118. 128. 120. 131. 107. 138. 121. 132. 133. 111. 136. 117. 109. What are different objects of SQL* Forms? What are packaged Procedures? What are different types of triggers? What is the difference between resticted and unrestricted packaged procedures? What are system variables in SQL*Forms? What are global variables in SQL*Forms? What are pages? What is block? Explain different types? What is screen? What are different types of field? What is page zero? What does MESSAGE function do? What does NAME_IN function do? What does CLEAR_EOL procedure do? What does ON_ERROR procedure do? What does COPY function do? What is ARRAYSIZE parameter? What is GO_BLOCK function? What is ANCHOR_VIEW function? How to call a form from inside a form? How to send a parameters to another form? How to give automatic hint text for fields? How to see key map sequences? What is SYNCHRONIZE function? What is EXECUTE_QUERY procedure? How to customise system messages in SQL*Forms How to define fields in WYSIWYG format? What is ON-INSERT trigger?How is different from PRE-INSERT? What is the difference between a trigger and procedure? How to call a stored procedure from inside a form? What are V2 triggers? How to rename a form? What is a pop-up page?How to define one? What is a group in SQL*ReportWriter? How do you define parent-child relationship in ReportWriter? What is a rowcount fuction in ReportWriter? How do you define matrix report? How do you execute a report from within a form? What are exp and imp utilities? . 140. 114. 139. 122. 115.

When a COMMIT statement is issued to the database the transaction is ended and  All work done by the transaction is made permanent  Other sessions can see the changes made by this transaction. update or delete statement but any that have occurred since the last commit. Transaction is a standard part of relational databases and prevent inconsistent data. „WHERE‟. The three widely accepted data models are the Relational Model Network Model Hierarchical Model *Data is stored in tables. names Tables can be related to each other if each have a column with common type of information.What is a COMMIT? In a transaction a set of changes are made permanent with the commit statement. rows. When a ROLLBACK statement is issued to the database the transaction is ended and  All work done by the transaction is undone as if it had not been issued. It‟s a series of SQL statements that either succeed or fail as a unit. the basic structure of SQL consists of 3 clauses „SELECT‟. Data Base Management System consists of a collection of interrelated data and a set of programmes to access that data . 4.  Any lock.What is a Rollback? Part or all of a transaction can be undone with the ROLLBACK statement . 3. A relational database Management system (RDBMS) such as ORACLE allows (1) to put data(manage data) (2) Keep the data (3) Lets u get the data and work on it.Questions and Answers 1. 6. acquired by the transaction are released.What is a DDL? . a power failure.  Any locks by the transaction are released. Syntax: COMMIT[WORK] 5. 2. Tables have columns.What is an RDBMS? What are the different Database Models? (A).What is SQL ? A Structured Query Language SQL allows end users to extract information from databases themselves. „FROM‟.An automatic rollback occurs whenever a transaction is interrupted such as by an execution error.What is a transaction? A transaction is a sequence of SQL statements that ORACLE treats as a single unit.

which are stored in a special file called data dictionary (or directory). 2. SUM([DISTINCT:ALL]values):gives the sum of all values for a group of rows. They are 1. STDDEV([DISTINCT:ALL]values):gives the standard deviation of all the values of a group of rows. AVG([DISTINCT:ALL]values) gives the average of the values for groups of rows. GLB(label): gives the least lower bound of a secure operating system label. 5. This occurs because each process is holding a resource that . 10. LVB(label): gives the least upper bound of a secure operating system label. 9.This lock manually overrided automatic locking and permits or denies access to a table or a view by other users for a duration of once operation. 4. varchar. 3.What is a Deadlock? A deadlock is a rare situation in which two or more user process of a database cannot complete their transactions. Data manipulation means  Retrieval of information stored in the database  Insertion of new information into the database  Deletion of information from the database  Modification of information from the database A DML is a language that enables users to access or manipulate data as organised by the appropriate data model. 8.A database scheme is specified by a set of definitions. which are expressed by a special language called a data definition language (DDL). 8. Insert. DDL stmt define Create or Delete (drop) database objects. The result of the compilation of DDL statement is a set of tables. What are group functions? Explain each Each of the data type (char. VARIANCE([DISTINCT:ALL]values):gives the variance of all values for a group of rows. COUNT([DISTINCT:ALL]values): give the count of a row of a row for a column or for a table. 7. sum) from the individual number values in a group of values.What is Data Manipulation Language? DML Statement are one category of SQL statement such as Select.What is Locking? To Lock one or more tables in a specified mode is called locking.date) have a group of functions designed especially to manipulate data on its own type Group functions: A group function computes a single summary value (such as avg. 6. Delete and Update query and update the actual data. number. MAX([DISTINCT:ALL]values):gives the maximum of all values for a group of rows. 7.

What is shared exclusive lock? 14.What are clusters? Clustering is a method of storing tables that are intimately related and often joined together into the same area on the disk. 17. delete or update rows in the underlying table. but not change it. It differs from share lock becoz it does not permit another user to place any type of lock on the same data. distinct or a reference to a pseudocolumn rownum. delete if the view contains group by. several users may place share locks on the same data at the same time. An indexed fields (except those with null value) and pointer(s) to the row(s) having that value. 13. This will actually insert.If a view is based on a single underlying table u can delete rows in the view.the other process requires( such as a rowid in a table) in order to complete . It is derived from a table but has a storage of its own and often used in the same manner as a table . 11. 16. The cluster key is the column or the columns by which the tables are usually joined in a query. What is Shared Lock? A share lock is one that permits other users to query data.Oracle detects and resolves deadlocks by rolling back the work of one of the process. What is a rowid? . Indexes provide a faster access method to one table‟s data than doing a full table scan. U cannot insert. What is a view? A view is a database object that is a logical representation of a table. 15. but not change it. 12. update.What is an exclusive lock? An exclusive lock is one that permits other users to query data.What is indexing? Index is a general term for an Oracle/SQL feature used primarily to speed execution and impose uniqueness upon certain data.

double. It is placed on a column when the table is created. dec. 18. long raw.What is referential integrity? Referential integrity is the property that guarantees that value from one column depend on value from another column. ROWID contains  Which data block in the data file  Which row in the data block (first row is 0)  Which data file (first file is 1) They are the fastest means of accessing a single row. ROWID values contain information necessary to create a row.What is varchar2? How is it different from char? 26.What are different data types? Each literal or column value has a data type.What is a unique key? Unique key is a one or more column that must be unique for each row of the table 20.What is a sequence? 29. smallint. Varchar2(size). The value's data types associate a fixed set of properties with the value.What is a foreign key? 22. What is a Primary key? Primary key is the column(s) used to uniquely identify each row of a table 19. 23. decimal. Boolean. It uniquely identifies a row in the database. They can show you how a tables rows are stored.What are integrity constraints? Integrity constraint is a rule that restricts the range of valid values for a column.What are pseudo columns in oracle? . The data types are scalar (all the above) Composite : tables and record 25.What is null? 28. long.. 24.For each row in the database the rowid pseudocolumn returns a rows address. 21.s).What is data type mixing? 27.What is the difference between a unique and a primary key? A Primary key cannot have a null value while a unique key can have a null value. number(p. This property is enforced through integrity constraints. etc. char(size). binary_integer. raw.

Generally the form of the function names follows the convention data type to data type.A pseudo column behaves like a table column. CONVERTHEXTOROW. Format : New_Time (Date.If source set is not specified it default to the character set of the database.Currently this function works only for the zones between grenwich. Conversion functions convert a value from one data type to another. Pseudo columns like CURRVAL.What are single row number functions in ORACLE? Give 4 examples.England & Hawaii . One can select from pseudo columns. . ROWNUM. 30. LAST_DAY.What is convert fuction ? Convert the character string „string‟ from the character set identified by the source set to the character set identified by the destination set. NEXT_DAY. CONVERT 33. Missing? 35. ADD_MONTH. TOSINGLEBYTE.What are the date functions? Date functions operate on values of the DATE data type.What is like operator? A like operator is used in character string comparison with pattern matching. TO_CHAR. TO MULTIBYTE. ROWIDTOCHAR. 36. Other will be replaced by 3 letter abrrevation of the other time zone for <= U‟d like to know the time & date. The syntax char1 [NOT] like char2 With the like operator you can compare a value to a pattern rather than to a constant. SYSDATE All date functions return a value of DATE data type. CHARTOROWID. RAWTOHEX. except MONTH_BETWEEN function returns a number. What are single row char functions in ORACLE? Give examples.‟Other‟) Date of this time Zone This will be replaced by a 3 letter abbrevation for the current time zone. What is a new_time function ? The new_time fuction tells u the time and date of a date column or literal date in other time zones. ROWID. update or delete their values.‟This‟. NEXTVAL. but is not actually store in the table. 32.What are conversion functions in ORACLE give example. but you cannot insert. TO_DATE. Explain. 31. TO_NUMBER. 34 . LEVEL. Explain.

beyond that differ by country .The ASCII functin will return the ASCII value of the (left most) first of a characterin a string.What is INITCAP fun ? Initcap takes the initial letter of every word in a string or column and convert just these letters to uppercase. Select INITCAP(Name) from magazine . What is ASCII function? ASCII is an acronym for “ American Standard Code for Information Interchange” .[dest_set .everytime it appears in string.‟GE‟.this is especially useful when u r not certain how a word or name is really spelled.temp from weather where soundex ( city ) = soundex („sidney‟) Sidney 29 39 What is repklace fuction ? REPLACE Replaces a character or characters in a string with O or more characters.what is floor fuction Returns the largest integer equal to or less than X.Convert(string. What is Soundex fuction ? Soundex –a string fuction is exclusively used in where clause it has the unusal ability to find words that sound like other words . and then checks „if‟ to see if that character is there.If it is then it notes the position in „if‟ where it found the character and the looks at the same position in then. sour_set]) 37 what is translate fuction ? It‟s a simple fuction that does an orderly character by charater substitution in a string .null)=OR 40.then) Translate lock at each character in „string‟ . 38. Translate(String. .then) „if „ is a charater or charaters.If. It is a convention for using digital data to represent printable characters.It is replaced by the contents of then replace(GEORGE‟. 42.if. Soundex(String) Select city.application & computer manufacturer). EX : floor(x) Floor(-2. ASCII(string).Translate substitution which ever character it finds there for the character in string.3)=-3 41.it is replaced by the contents of then appears in string . The ASCII value of a character is an integer between 0 & 254 (0-127 well defined . Replace(String. Virtually regardless of how sound like is spelled .

. ex: It returns 1234=123400 B99999 Displays a blank if value is zero. What is Greatest Function? Returns the greatest expressions of its arguments. 999v99 Multiplies number by 10 where n id no. DD Number of days in a month..dates & character strings.if2.then1.a function or virtually any combination of functions & columns whose final result is a single value ...[..string or date.Format models for date columns are used in date conversions function such as ToChar.7.Give five examples of number & Date Formats.a mathematical computation. 47. YYYY Full four digit year:1946.‟Sports‟.such as number.‟movies‟. & the result has datetype varchar2.then3.Games people play‟. What is Format model in Oracle? A format model is a clause thatr controls the appearance of numbers. What is decode function? If translate is a character by character substitution ..if3. & To-Date.feature)from news.if 1.if it finds anything in the value . 09999 Displays no.then2. DECODE(value.then it eill use the value of feature..DECODE checks for a match in a seriess of if/then tests.-1)=10 Each Expressionis implicitly converted to the type of exp1 before the comparisons are made. This a the default..What r the 5 forms expression ? . This could be a literal.7.‟entertainment‟. What is an expression? An expression is any form of a column .. If expr1 is a character type . 999990 Displays a zero if the value is zero.else) select DECODE (feature. MM Number of months 12. 44.-1) from dual..43.c leading zeros. 45. 46. 48.) select GREATEST(10.DECODE can be considered a valueby-value substitution for every value it sees in a field. The date formats used with both To-char & To-date format meaning. Numeric Formatting Options $99999 Dollar sign placed in front of every number.non-blank padded character comparisons are used..a variable . GREATEST(exp1. of digits to right of v. Feature is the field name c has rows with sports C will be decoded to games people play and movies changed to entertainment. D Number of day in the week:6 MON Three letter abbreviation of month Aug.exp2]. Greatest (10.

between 52. a functrion . Acursor is a handle or a pointer to context area threw a cursor a PL/SQL program can control the context area what happens to it as stmt is processed.What is pl/sql? A.Processing and explicit cursor involves 4 steps.cobol.or vertually any combination of fuction Or vertuall any combination of fuction 49.fetch the results into pl/sql variables 4.while . CREATE SYNONYM synonym name for reference..Varaible. 51.SQL stmt and PL/sql blocks can be contained inside 3gl prog‟s written in c. cursor is also a synonym for context area.a work area is memory where oracle stores the current SQL statement .When . In an explicit cursor the cursor name is explicitly assigned to a select stmt via the cursor…IS stsmt. What are seven forms of the conditions? Condition r used in If ..fortran.open the cursor for a querty 3. What is explicit cursor?How is it different from implicit cursor? A.ada The precompilers r known as pro * c . 53..Loop And the where clause of SQL stmts.What is synonym ? A synonym is a name assigned to a table or a view may thereafter be used to refer it. Creating a synonym does not grant any previleges on referenced objects it just provides at alternative name for objects .Condition can be combined using logical operators AND .Leteral. What are cursors? A.Declare the cursor.c++. 2. pro * cobol etc Such type sql stmt r called embeded sql 55.pl1. PL/SQL extends SQL by adding constructs found in other procedural languages such as variables and types control structures suchas if-then-else statements and loops  procedures and functions It combines the power and flexibility of SQL(4GL) with the procedural constructs of a 3GL. 54.Exit . Then .close the cursor for implicit cursor. PL/SQl stands for procedural language/SQl.What is condition ? Acondition is an expresio whose value evaluates to either T/F such as age > 65 . in.They can be constucted using logical operators such as = . Create sysnonym put for publisher. What is embeded Sql ? Using the oracle precomplilers. 1.the pl/sql engine takes care of these this four steps automatically. >= like. OR & NOT . .A mathematical computation. 50 .

too-many-rows When-no-datafound 62. You can associate a profile to user with the alter user command.56.. v_temp number not null :=0. THEN . 59.. ELSIF. What are the system exceptions? A. THEN. the overall design of database is called the schema.. What is a schema? A... Unlimited means there is no limit on particular resource.. v_number number not null. Default fix up the limit from the default profile which you can change through the alter profile command. Procedural Constructs are integrated seemlessly with ORACLE SQL. ex: declare e_toomanystudents EXCEPTION.. that limits database resources.EXP_FULL_DATABASE. 57. ELSE .. A role is a set of previleges that an ORACLE 7 user can grant to another user. 66. 58. It combines the power and flexibility of SQL(4GL) with the procedural constructs of 3GL.. IF . IF . 63. Cursor allow a program to take explicit control of SQL statement processing. What are conditional constructs of PL/SQL? A.ORACLE automatically creates several roles: CONNECT RESOURCE. How to define our own exception in PL/SQL? A.. THEN.. resulting in a structural powerful language.. END IF.. .Create Profile creates a set of limits on the use of database resources. What are Roles? A. 60. a profile is a collection of settings in ORACLE 7. How to define a variable in PL/SQL? A.DBA. How to define a cursor in PL/SQL? A. you must have create profile system previlege in order to create a profile.. ex: v_description varchar2(50). Just like Variables. ELSE. What is a profile? A.exception have a type (exception ) and scope. 64.IMP_FULL_DATABASE.. How is array defined in PL/SQL? A.. Variable name type[Constant][not null][:=value]. 65. e_toomanystudents is an identifier that will be visible until the end of the block. How is the performance improved by PL/SQL in ORACLE? A.. User defined exceptions are declared in the declarative section of PL/SQL block.. When.

Acluster has at least two segments. A rollback segment is a storage space with in a tablespace that holds transaction information used to guarantee data integrituy during a rollback and used to provide read consistency across multiple trnasactions. An ORACLE database is composed of the system tablespace and possibilly other table spaces. Here U can see the actual size of each extent with in the segments. What are PCTFREE & PCTUSED parameters? A. PCTUSED is the percentage of space in a data block. Each segment in thus an initial area of disk space set aside for it in the table space called the initial extent. What is tablespace in ORACLE? A. 70. 71. PCTFREE is a partion of the data block that is not filled by rows as they are inserted into a table. The common block size are 512 bytes and 2045 bytes. What is a block in ORACLE? A. one for its data and one for its cluster key index. To alter the user you must have alter user system previlege.index or cluster in segments are compressed of contgeous sectors called extents. A segment is another way to classify the space allocated to a table. How do we alter user's password in ORACLE? A. 68. 74. 75. What is read consistency is ORACLE? A. You use ALTER USER to the change the user's password. It can be expanded by some one who has DBA authority. Read consistency is a state that guarantedds that all data encountered by a statement/transaction is a consistenent set through out the duration of the . which ORACLE attempts to fill before it allocates another block. What is the use of ROLLBACK segment? A. A table space can contain many tables. the last two roles let you use the import and export utilisation. Each table has a single area of disk space called segment set aside for it is the tablespace. Block is the basic unit of storage(physical&logical) for all ORACLE data. What is client server architecture? Explain the different types? 73.clusters. 72.The first 3 roles provide compatibility with the prior versions of ORACLE.indexes. ORACLE block size varies by Operating System and may differ from the block size of the host operating system. The number of blocks allocated per ORACLE table depneds on the tablespace in which the table is created. 69. 67. Tablespace is file or a set of files that is used to store ORACLE data. because a tablespace has a fixed size it can get full as many rows are added to its table. What is extent? A. Space is allocated to table. Every index has one segment similarly defined. What is segment in ORACLE? Explain different types? A. A tablespace is an area of this compressed of one or more disk files. A table has one segment that consists of all of its extents. index or cluster. The extents that compuse segments are described in USER_EXTENTS. but is reserved for later updates made to the rows in that block.

A DBA is an Oracle user authorised to grant & revoke other user's access to the system. 83. Format: SET TRANSACTION {READ ONLY | USE ROLLBACK SEGMENT} 76. making sure that the data from query is consistent while that statement is executing. The base processes are named ARCH(architecture) DBWR(database writes). The standard SQL transaction guarantees statement level read consistency. A Database file is simply any file used in a database. CREATE database command is used to create a database. The SGA provides communication between the user and the background processes . <= in turn are made up of one or more databased files. 78. 85. What are background processes? A. How to create a database? A. 84. A database is made up of one or more table spaces . and is a central source of information for the ORACLE RDBMS itself and for all users of ORACLE. 77. Set transaction starts a transaction. The tables are automatically maintained by ORACLE and hold a set of views and tables containing information about database objects. SGA is shared storage area in main or virtual memory (depending on your O. A background process is one of the processes used by an instance of multiple process ORACLE to perform and coordinate tasks on behalf of concurrent users of a database. users. Who is Oracle Administrator? How is he different from DBA? A.events and use. SQLDBA is an ORACLE utility used by DBA's while performing database maintenace and monitoring. What is a data dictionary in ORACLE? A.S) that is the centre of ORACLE activity while the database is running.What is SYS userid? What does it have? A. A database is a set of dictionary tables and user tables that are treated as a unit. of ORACLE background processes are started <= communicate with each other via shared memory known as SGA.statement/transaction. which acturate when ORACLE is initially installed.LGWR(leg writes) PMON(processs monitor) and SMON (system monitor) and exist as long as an instance dues. What is sytem userid? What does it have? 79. What is SQLDBA? A. SYS owns most of the data dictionary tables while system owns the views created on those base tables. The data dicitonary is a comprehensive set of table and views owned by the DBA users SYS and system. SYS is one the DBA users that is created when a database system is insalled and initialized(theother is system). 81. privileges . 80.modify ORACLE options that affect all users and perform other administrative functions. What is SGA? A. 82. What are database files? A. What is a leg file? What is its significanance? .When an instance is started a no.

Start Up is the process of starting an instance .What are Snapshots? A. A control file is paired is a database. 95.You can make local copies of remote tables.ORACLE7 provides snaphots as a mean of managing local copies of remote tables.An Instance consists of processes.Presumanably with the intent of mounting and opening a database in order to make a database system available for use. What does a delete statement do? A. Removing a row or rows from a table requires the delete command. necessary to start and run a database system.What is an Instance? A.Snapsots can be used to replicate all or a part of a single table. .col2 from table1. How to delete duplicate rows in a table? A. How to create a table using select and insert statement? A. Multiple identical control files are preferred to a single file. 90. 93. 89.the refreshes of the replicated data can be done automatically by the database at time of intervals you specify. 87.memory and operating system files all runing on the server.86. What does an update statement do? A.select is a keyword used in a query to ORACLE.col2) select col1.What is Mounting of Database? A. Select understands the request and responds with the correct answer.or to replicate the result of a query against multiple tables.To shutdown is to disconnect an instance from the database & terminate the Instance.What is Start Up and Shutdown? A. Using ROWID. What is a control file? What is its significance? A. no with an instance.In order to improve the performance of an application that uses distributed data. The where clause is essential to remove only therows you intend . Deleted out a where clause will empty the table completely.To mount a database is to make it available to the Database Administrator. 91. Update requires setting specific values for each column U wish to change and specifying which row or rows you wish to affect by using a carefully constructed where clause. A control file is a small administrative file required by every database. for reasons of data security. 94. The SQL commandinsert lets u place a row of information directly into a table. INSERT INTO table(col1. 97. Missing? 98. What does a select statement do? A.A Combination of the background process and the memory buffers is called an Oracle Instance. What is an initfile? What is its significance? 88. What does an insert statement do? A. 92. 96.

107.S .A global variable stores a character string of upto 255 characters in length. 108. The no of blocks allocated per ORACLE table depends on the tableapace in which the table is created.In SQL* menus there are certain Packaged Procedures & are used in PL/SQL or on a menu item command line.Packagers are PL/SQL contructs that allows related objects to be stored together.What are Packages? A. What is a Block? Explain different types? A.What are system variables in SQL * Forms? A.A trigger difine as action the database should take when some databae related event occurs.What is SQL* forms3.you can also pass arguments.Each of them is shared separately in the data dictionary.What is the difference between the restricted & Unrestricted packaged procedures ? 106. Main-Menu takes the user to the main menu of the application 104.0? Is it a Client or Server? A. 100.A shared procedure is a procedure which can show in the database and run when appropriate.99. What are Pages? A. The ORACLE block varies by O. A page is a unit of disk storage.What are Global variables in SQL * Forms? A.A trigger is executed explicitil whenever the triggering event happens and trigger does not accept arguments.It keeps track of runtime status conditions during an Oracle Forms Runform session. There are 12 basic types of triggers. Block is a basic unit of storage(Physical&logical) for all ORACLE data.A package has two speciffic parts one is the spciffication part and other os the body . Ex: Debug-mode turns the debug mode on or off.SQL * menu is a product whose primary function is to produce menus and menu trees that allow users to navigate easily thru ORACLE & other applications.A trigger type is defined by the type of triggering transaction and by the level at you the trigger is executed.What are different types of Triggers? A. 109.A new procedure is executed explicitily from another block via a procdural call . 101. 102. Its value is accessible to triggers and subprograms in any module that is active during the current session.What are Triiggers and Stored Procedures? A. 103.What are Packaged Procedures? A .What are different objects of SQL* forms? A. i) Row Level ii) Statement Level iii) Before & After 105.

111. Field is generally synonymous with a column but can also mean an actual column value. What is ANCHOR_VIEW function ? 121. the data type of name is char.And may differ from the block size of the host operating system. What is an ARRAYSIZE parameter ? ARRAY[SIZE]{20|n} will set the size of the batch of rows that SQL*PLUS will fetch at one time. Name_in(variable name) If u nest the Name_in function ORACLE forms evaluates the individual name_in function from the inner most one to outer most one 115. 120.What is Page Zero? 113. To trap and recover from an error. If the target block is non-enterable. Returns the value of the indicated variable. What is GO_BLOCK function ? GO_BLOCK navigates to an indicated block. 116. What does CLEAR_EOL procedure do ? It clears the current text items value from the current cursor position to the end of the line. The range is 1 to 5000. In a table a field is the information stored at the intersection of a row and a column. 118. What is a Server? A. 110. Larger values improves the efficiency of queries and subqueries where many rows will be fetched but use more memory. 119. How to call a form from a form? .What does Message function do? A. Displays the specified text on message line. 2. What does ON_ERROR procedure do ? ON_ERROR trigger fires whenever Oracle forms would normally cause error message to display. 117.user-response). What does name in function do? A. Either FROM or TO may be ommited in casethe users default database will be used for the missing clause. Specifies the name you give the block when defining it.What are different types of field? A. 114. What does copy function do ? Copy copies from a table to a table in another computer over SQL*NET FROM is the username. Its used 1.password and database of the source table and to is the destination table. Message(message-string. an error occurs. to replace a standard error message with a custom message. 112.

Set Auto Hint Property to true to have Oracle Forms display the Hint text when the input focus enters the item. It fires once for each row that is marked for insertion into the database. 131. the type (Text-Parameter or Data_Parameter) and the value of each parameter on the list. How to send parameters to another form ? Each parameter and its value must be in the parameter-list. If there are changes to commit. What is EXECUTE_QUERY procedure ? Flushes the current Block.opens a query and fetches a no of selected records. 127. 123. Its procedural code is stored within the database and is fairly static. How to give automatic hint text for fields ? 1. Parameter lists are internal. How to customize messages in SQL*FORMS ? 128. A trigger is executed implicitly whenever the triggering event happens and a trigger doesn‟t accept arguments. 130. What is the difference between a trigger and a procedure? A trigger defines an action the database should take when some database-related event occurs.keyword-two. It fires after the PRE_INSERT trigger fires and before the POST_INSERT trigger fires. three column data structures that contain the key(name).RUN_PRODUCT.In the Items Property sheet. which can also pass arguments. Type the desired hint text in hint field.locking). one‟ll benefit from the reuse of the same queries within the database. While sophistication business rules and application logic can be store as procedures and comprise of group of SQL\PL/SQL statements that are performed within the database and by the server. 2. What is ON_INSERT trigger ? How is it different from PRE_INSERT ? ON_INSERT fires during the post and commit transactions process.CALL_FORM. executable and exception handling sections. Oracle forms promts the operator to commit them before continuing EXECUTE_QUERY Processing. How to define fields in WYSIWYG format ? 129. where Oracle forms would normally insert a record in the database. EXECUTE_QUERY(keyword-one. 126. How to call a stored procedure from inside a form? . 122. Triggers are similar to procedures in that they are named PL/SQL blocks with declarative. Specifically. What is SYNCHRONIZE function ? SYNCHRONIZE updates the screen display to reflect the information that Oracle Forms has in its internal representation of the screen. How to see key map sequences ? 125. 124. However a procedure is executed explicitly from another block via a procedure call.

How do you define parent-child relationship in Report Writer? 133. Execute_trigger(„my_user_named_trigger‟). How do you define matrix report A matrix layout is like a grid so fields go across the page. to use the import utility to move data from an export file into database tables. How to rename a form? 1.itemname).executemode.199. 4.list. Oracle forms has to be structured user named routines to accept inputs and return results in parameters. What are exp and imp utilities? Export is the Oracle utility used to store oracle database data in export format files for later retrieval into an oracle database via import.59.One difference between PL/SQL procedures for oracle forms and procedures for the database is that server-side procedures do not understand references to oracle forms bind variable (:block. fields and boilerplate text are also created. What is a pop-up page? How to define one? 131.e. Enter the name of the module you want to remove in old field Enter the new name for the module in the new-field Press ok.display). What is a group in SQL*Report writer? 132.commode. Select file  Administration  Rename to invoke the Rename dialog. Import is the Oracle utility used to retrieve oracle database data found in export format files into an oracle database to import i.location.220 .document. Eg.. How do you execute a report from within a form? Run_Product(Product. 135. 136. some fields go down the page and some cell appear where the across and down fields correlate. Any data that procedures need for processing must be passed into the “black box” by way of parameters of appropriate data type or by package variables. 2. User-named triggers are appropriate only in special situations and are not required for most application. 132. Repeating frames. 133. either built-in or user-named. 130. 3. Header and footer frames are created to enclose boilerplate labels and summaries. Knowledge server ip address 208.. What is a rowcount function in Report writer? 134. What are v2 triggers? Specifies the type of trigger.