Oracle FAQ's Part-7

251. How is it possible to select generate a select set for the query in the query property sheet?
By using the tables/columns button and then specifying the table and the column names.

252. How can values be passed bet. precompiler exits & Oracle call interface?
By using the statement EXECIAFGET & EXECIAFPUT.

253. How can a square be drawn in the layout editor of the report writer?
By using the rectangle tool while pressing the (Constraint) key.

254. How can a text file be attached to a report while creating in the report writer?
By using the link file property in the layout boiler plate property sheet.

255. How can I message to passed to the user from reports?
By using SRW.MESSAGE function.

256. How is possible to restrict the user to a list of values while entering values for parameters?

By setting the Restrict To List property to true in the parameter property sheet.

257. How can a button be used in a report to give a drill down facility?
By setting the action associated with button to Execute pl/sql option and using the SRW.Run_report function.

258. How can a cross product be created?
By selecting the cross products tool and drawing a new group surrounding the base group of the cross products.

259. What are different types of images?

Boiler plate imagesImage Items

260. What is the difference between boiler plat images and image items?
Boiler plate Images are static images (Either vector or bit map) that you import from the file system or database to use a graphical elements in your form, such as company logos and maps. Image items
are special types of interface controls that store and display either vector or bitmap images. Like other items that store values, image items can be either base table items(items that relate
directly to database columns) or control items. The definition of an image item is stored as part of the form module FMB and FMX files, but no image file is actually associated with an image item until
the item is populate at run time.

261. What is bind reference and how can it be created?
Bind reference are used to replace the single value in sql, pl/sql statements a bind reference can be created using a (:) before a column or a parameter name.

262. What are the triggers available in the reports?
Before report, Before form, After form , Between page, After report.

263. Give the sequence of execution of the various report triggers?
Before form , After form , Before report, Between page, After report.

264. Why is a Where clause faster than a group filter or a format trigger?
Because, in a where clause the condition is applied during data retrievalthan after retrieving the data.

265. Why is it preferable to create a fewer no. of queries in the data model?
Because for each query, report has to open a separate cursor and has to rebind, execute and fetch data.
266. Where is the external query executed at the client or the server?
At the server.

267. Where is a procedure return in an external pl/sql library executed at the client or at the server?
At the client.

268. What is coordination Event?
Any event that makes a different record in the master block the current record is a coordination causing event.

269. What is the difference between OLE Server & Ole Container?

An Ole server application creates ole Objects that are embedded or linked in ole Containers ex. Ole servers are ms_word & ms_excel. OLE containers provide a place to store, display and manipulate objects that are created by ole server applications. Ex. oracle forms is an example of an ole Container.

270. What is an object group?
An object group is a container for a group of objects; you define an object group when you want to package related objects, so that you copy or reference them in other modules.

271. What is an LOV?
An LOV is a scrollable popup window that provides the operator with either a single or multi column selection list.

272. At what point of report execution is the before Report trigger fired?
After the query is executed but before the report is executed and the records are displayed.

273. What are the built -ins used for Modifying a groups structure?
ADD-GROUP_COLUMN (function)
ADD_GROUP_ROW (procedure)
DELETE_GROUP_ROW(procedure)

274. What is an user exit used for?
A way in which to pass control (and possibly arguments ) form Oracle report to another Oracle products of 3 GL and then return control ( and ) back to Oracle reports.

275. What is the User-Named Editor?
A user named editor has the same text editing functionality as the default editor, but, because it is a named object, you can specify editor attributes such as windows display size, position, and title.

276. What are the Built-ins to display the user-named editor?
A user named editor can be displayed programmatically with the built in procedure SHOW-EDITOR, EDIT_TETITEM independent of any particular text item.

277. What is a Static Record Group?
A static record group is not associated with a query, rather, you define its structure and row values at design time, and they remain fixed at runtime.

278. What is a record group?
A record group is an internal Oracle Forms that structure that has a column/row framework similar to a database table. However, unlike database tables, record groups are separate objects that belong to
the form module which they are defined.

279. How many number of columns a record group can have?
A record group can have an unlimited number of columns of type CHAR, LONG, NUMBER, or DATE provided that the total number of column does not exceed 64K.


280. What is a Query Record Group?
A query record group is a record group that has an associated SELECT statement. The columns in a query record group derive their default names, data types, had lengths from the database columns referenced in the SELECT statement. The records in query record group are the rows retrieved by the query associated with that record group. What is a Non Query Record Group?

281. What is a property clause?
A property clause is a named object that contains a list of properties and their settings. Once you create a property clause you can base other object on it. An object based on a property can inherit the setting of any property in the clause that makes sense for that object.

282. What is a physical page ? & What is a logical page ?
A physical page is a size of a page. That is output by the printer. The logical page is the size of one page of the actual report as seen in the Previewer.

283. What does the term panel refer to with regard to pages?
A panel is the no. of physical pages needed to print one logical page.

284. What is a master detail relationship?
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.

285.What is a library?
A library is a collection of subprograms including user named procedures, functions and packages.

286. How can a group in a cross products be visually distinguished from a group that does not form a cross product?
A group that forms part of a cross product will have a thicker border.

287. What is the frame & repeating frame?
A frame is a holder for a group of fields. A repeating frame is used to display a set of records when the no. of records that are to displayed is not known before.

288. What is a combo box?
A combo box style list item combines the features found in list and text item. Unlike the pop list or the text list style list items, the combo box style list item will both display fixed values and
accept one operator entered value.

289. What are three panes that appear in the run time pl/sql interpreter?
1. Source pane.
2. interpreter pane.
3. Navigator pane.

290. What are the two panes that Appear in the design time pl/sql interpreter?
1. Source pane.
2. Interpreter pane
291. What are the two ways by which data can be generated for a parameters list of values?
1. Using static values.
2. Writing select statement.

292. What are the various methods of performing a calculation in a report ?
1. Perform the calculation in the SQL statements itself.
2. Use a calculated / summary column in the data model.

293. What are the default extensions of the files created by menu module?
.mmb,
.mmx

294. What are the default extensions of the files created by forms modules?
.fmb - form module binary
.fmx - form module executable

295. To display the page no. for each page on a report what would be the source & logical page no. or & of physical page no.?
& physical page no.

296. It is possible to use raw devices as data files and what is the advantages over file. system files ?
Yes. The advantages over file system files. I/O will be improved because Oracle is bye-passing the kernnel which writing into disk. Disk Corruption will be very less.

297. What are disadvantages of having raw devices ?
We should depend on export/import utility for backup/recovery (fully reliable) The tar command cannot be used for physical file backup, instead we can use dd command which is less flexible and has limited recoveries.

298. What is the significance of having storage clause ?
We can plan the storage for a table as how much initial extents are required, how much can be extended next, how much % should leave free for managing row updations etc.,

299. What is the use of INCTYPE option in EXP command ?
Type export should be performed COMPLETE,CUMULATIVE,INCREMENTAL. List the sequence of events when a large transaction that exceeds beyond its optimal value when an entry wraps and causes the rollback segment toexpand into anotion Completes. e. will be written.

300. What is the use of FILE option in IMP command ?
The name of the file from which import should be performed.

Recent Tutorials