Professional Documents
Culture Documents
A
A
Database
5. Database
This chapter describes various functions regarding Database menu. Database menu can
be
used to set the methods of bringing data for printing and of applying data to the
report.
81
Chapter.1 Using Report Designer Editor
Provider
Connection
Input database name to be connected, user ID for log-on and password etc..
Advanced
All
ADO (ActiveX Data Object) is a new database connection entity of Microsoft Corp. It
makes various data types connect to database. Report Designer supports ADO entity
as
OLE DB connection entity in order to access informal data, and various data
sources.
82
5. Database
Enter the web path of Report Designer Server for JAVA into RDAgent Path. In case of
Runtime, you can set RDAgent path by selecting either /rf or /rfn of parameter
options.
See Appendix III. Report Designer Parameters - III.1.27 for /rf, and III.1.31
for /rfn.
Enter RDAgent Path, User ID and Password, and then click Verify. Verifying
successfully,
the service lists of registering in RDAgent appear in the Registered Service Names.
Select
one of them and click OK to be connected.
Generally, it is impossible to fetch massive data at once due to the network
condition. The
function of Use Part of Fetch is to use in fetching massive data partially
according to the
number of queries you input into the number of queries handling for each fetch.
However, it
is supported in Oracle DB only.
83
Chapter.1 Using Report Designer Editor
Enter the server path of Report Designer Server for .NET into .NET Server and enter
the
data source name to be connected into Data Source. Then click OK.
In case of Runtime, you can set connection server path by selecting either /rf
or /rfn of
parameter options same as RDAgent Connection.
See Appendix III. Report Designer Parameters - III.1.27 for /rf, and III.1.31
for /rfn.
84
5. Database
Sub query is created in proportion to the number of sub pages. If you want to
create
more than two sub queries, you have to insert Body pages as many as sub queries.
You can
insert Body after selecting Edit> Edit Page> Add/Insert Body.
85
Chapter.1 Using Report Designer Editor
The number of result records showing on View Records is limited to max. 10,000. In
case of
bring Blod(Binary Large Object Data), such as image data and memo data in query
statement, it is not available.
If a query statement has parameter variables like $1 and $2, which transferred when
a report
is running, View Records is not available.
However if parameter values are input through the dialog box of File > Enter
Parameter
Values, you can review result records by operating query statement, which is
replaced to the
parameter values in executing View Records automatically.
86
5. Database
Verify SQL allows you to check whether a query statement is grammatically correct.
This
is verified based on SQL grammar of the corresponding database so in case of using
the function, Query Dynamic Creation, you cannot verify.
If you only input the first parameter, ‘/rp [10] []’, then the created query is as
shown below.
SELECT person.name, person.age
FROM person
WHERE person.age >= 10
If you input the first parameter and the second parameter, ‘/rp [10] [40]‘ then the
created
87
Chapter.1 Using Report Designer Editor
88
5. Database
In the Stored Procedures list box, stored procedures of the current connected
database is
listed. If you want to select one of stored procedures that you want, double click
the Stored
Procedures. Or click Select after choosing one of Stored Procedures in the list.
If the selected stored procedures needs parameters, input values into Set edit box
after
selecting parameters in Set Parameters. In case of no parameter, check NULL.
If parameter options of /rp or /rv are input in Set Parameters edit box, parameters
will be
passed when a report is running.
See Appendix III. Report Designer Parameters - III.1.53 for /rp, and III.1.104
for /rv.
Search
It is possible to search Stored Procedures that you want from the list by its name.
It is not
case-sensitive. You can search even by partial strings. You can also use
wildcard(*) at the
end/start of string to search a certain string.
89
Chapter.1 Using Report Designer Editor
Initialize
If you click Initialize, the selected Stored Procedures is released and the input
box of
parameter values is initialized.
For example, setting Result Record Set as TopN/10 Records, top 10 of query result
records
is brought.
90
5. Database
EJB tab shows EJB list of the current connected database. Select one from EJB list,
and
double click it or click Add, then it is added to Selected EJB. In EJB Method tab,
methods
of the selected EJB tab are listed. Select a desired method.
The selected method is shown in Selected Method box. If parameters passing to
method
are required, input values to be passed into Set values box after selecting
parameters in Set
Parameters box. The usage of buttons in EJB list is similar to Stored Procedures
tab. See
Chapter. 5.2.4. Use Store Procedures.
91
Chapter.1 Using Report Designer Editor
If you input a comment into Select clause or if you declare aliasing instead of as,
normally it
is impossible to bring the Field List on Database > Map Dataset. In this case, you
can
directly bring a field list by using the function of Get Field Meta-Information by
Execution
Query.
It is not necessary to edit Query separately on the sub page where query result
will be
reused.
92
5. Database
In Sub Report File, define Form File to be included in a sub report. As Form file
path,
absolute path and relative path based on the path of Form file including sub report
are
supported. In Parameter Definition, define report parameters to be required in the
sub
report execution. If main query field value or parameter variable values is
required as a
parameter, put them between %RDS and %RDE.
Web Service List tab shows web service list of the current connected database.
After
selecting a desired web service, double-clicking or clicking Add adds the web
service to
selected web service list. In Web Service Method List tab, the method of selected
web
service is listed.
The selected method is shown in Select Method box. If parameters passing to method
are
necessary, input the value to be passed into Set Values box after selecting
parameters in
Set Parameters box. The usage of buttons included in Web Service List tap is
similar to
Stored Procedures tab. See Chapter 5.2.4. Use Store Procedure.
93
Chapter.1 Using Report Designer Editor
Table
It corresponds to the part of SQL From clause and allows selecting Table with data
to be
printed.
Connected DB Tables list box shows Tables of the current connected database. After
selecting Table required in order to make SQL statement, click Add. Then the
selected table
will move to Selected Tables.
Field
It corresponds to the part of SQL SELECT clause, allows selecting Table column to
be used.
94
5. Database
Table Columns shows the selected table and the column of the selected table. After
selecting the column corresponding to the printed data, click Add.
Group Function is to group the column values of SELECT clause when GROUP BY clause
is used in query. At first after selecting one column of Table Columns list box,
select one of
GROUP Functions and click Add. When Group function Variable name dialog box will
appear, input Alias name of the column applied with group function and then click
OK.
Condition
Sort
95
Chapter.1 Using Report Designer Editor
After selecting the column to be used in Selected Columns, choose ASC or DESC. And
click Add, then the selected column is added to Sort Columns. After sorting
records,
resorting is possible by selecting ASC or DESC again.
Group
After selecting the column to be used in Selected Columns, click Add. Then the
selected
column is added to Group Columns.
Group Condition
96
5. Database
SQL View
Clicking View Records, you can view the record brought by the current edited query.
(See
Chapter 5.2.2.2 View Records.) If you click Verify SQL, it is verified whether the
query is
correct grammatically. (See Chapter 5.2.2.3 Verify SQL.)
97
Chapter.1 Using Report Designer Editor
Generally, you can SELECT only one field in field query. When you want to refer to
parameter values or main query field in WHERE clause, you need to follow specific
syntaxes,
such as :(main query field name) or ($1). In case of referring to sub query field
name, you
can use the same syntax, :(sub query field name). If main query data has character
type,
then input as :(main query field name).
If some fields are used in SELECT clause of field query, add ‘#’ to field query
name. For
example, if you input ‘personal information #’ into field query name, you can edit
query
statements, as ‘SELECT A, B, C, From T’. In this case, A column has personal
information 1,
B column has personal information 2 and C column has personal information 3. And
you can
input directly the field query name in field name of Map Dataset dialog box, adopt
it to an
object, and use it at editing summary.
In addition, in SELECT clause of main query statements or sub page query
statements, you
cannot use general field and Blob field at the same time so use field query. You
can get only
general field in SELECT Clause of main query statements or sub page query
statements and
get Blob field separately by filed query. In case of using # symbol in field query
name to get
multiple fields in SELECT clause, you should use general field and you cannot use
Blob field.
98
5. Database
See Chapter 5.2.3 Use Multi-DB for Multi-DB Service Name and see also Chapter 5. 2.
8
Use Prepared Statement for Use Prepared Statement.
In case of using Report Designer Server (JAVA or .Net), you can use Query Field in
order to Blob field (image or memo data).
Generally, Schema File checks the validity of XML document. In Report Designer 5.0,
you
can use schema files to get the information of the XML document structure.
99
Chapter.1 Using Report Designer Editor
100
5. Database
Report Designer 5.0 brings XML document structure through XDR schema file, DTD
file,
and XML sample document.
In case of XML sample document, it cannot recognize #PCDATA Content type elements
and
Repeat element automatically. When XML sample file is selected as a schema file,
you
should set #PCDATA Content type elements and Repeat element on dialog box as shown
below.
101
Chapter.1 Using Report Designer Editor
as an image. When the field is set with selecting Database > Connect File after the
corresponding element is defined as the image element, you have to select the field
type of
the element as LONGVARBINARY.
102
5. Database
However in order to access data of XML document, XPath (XML Path language) is
necessary. XPath has tree structure, similar to the directory/file structure of the
file system.
Refer to following examples.
authors/author/name – XPath to access name element of child author element of
authors
element.
authors/author[nationality='Russian']/name - XPath to access names of people whose
nationality is ‘Russian’ on author element.
When SQL query definition is completed, SQL query is created. On the contrary, if
XML
query definition is completed, XSLT style sheet will be created. Both are used to
fetch data
from data source during creating report.
Query Name
Root Element
When you set XPath path for fetching data from XML document, you should set the
Root
Element of the selected element earlier. The selected element is set as the
relative XPath of
the Root Element. At the moment, the Root Element of main query is root element,
the Root
Element of sub query is repeat element. A Root Element already used cannot be used
again.
Root element set in Set XML Schema is selected as the Root Element in main query
and
cannot be modified.
Root Element of sub query can be selected among Root Element combo box. List of
element
is XPath of element which can be repeated in XML document, thus if there is no
repeat
element in document structure, sub query cannot be used
Root Elements are a root element of the query XML document structure tree. XPath of
selected element is a relative path of Root Element. So if XPath of Root Element is
‘/authors’, and XPath of selection element is ‘/author/name’ then XPath of Root
Element is
‘/authors/author/name’.
An xsl:template is created for each query (main/sub) in XSLT Style-Sheet, and Root
Elements are used as a match to property value of xsl:template element.
There are xsl:template in XSLT documents created by XML query definition. Root
Elements
103
Chapter.1 Using Report Designer Editor
match property value of this element. For example, if Root Element of main query is
‘/authors’ then XSLT Style-sheet is created as shown below.
<xsl:template match=/authors>
</xsl:template>
It shows XML Document structure tree taking Root Element as root element. In order
to
extract the data from XML Document, add node into select field list.
Selection Element(XPath )
Selection element is XPath of Data to be extracted from XML document. You can
access
Data in XML Document either with XPath of top most elements or XPath of selection
element.
104
5. Database
Alias
You can modify alias of selection element after clicking Alias section. Alias is
another name
for selection element used as Data connection set. Alias does not allow using the
repetition
of the same name.
When you add element into selection field list, it is added as the last element. If
you want to
change the location of element, use
button
Adding/Deleting element
Enter Conditions
Input a condition applying to query. You can use parameter variable ($variable) on
conditional clause. In order to use string constants in conditional clause, you
need to use
single quotation mark (‘)
105
Chapter.1 Using Report Designer Editor
name=’Smith’
../@type='$1'
Element List
Element name and property name is listed in Element list. Double click element to
insert into
input condition section.
Operator, Reserved Word, Axes and Node Test and Function List
This is function list of reserved word that can be used in condition clause. Double
click
element to insert it into input condition section. For more details, refer to XSL
specification
(related site - http://www.w3c.org)
Caution
Input XPath as relative path when element name and property name are used in
conditional
clause. Basis element of relative path is different on main query and sub query.
When you
input into main query then repeated elements are the basis element. In case of sub
query,
Root Element is the basis element. Input relative path to extract data normally.
If repeated element of main query is data/region and name element into conditional
clause is
added, then it becomes data/region/name.
If the top most element of sub query is /sales/data/region/quarter, and adding
@number
element into conditional clause then, @number is relative path of
/sales/data/region/quarter,
resulting in /sales/data/region/quarter/@number .
When you check XSLT after inserting conditional clause, then it should be as shown
below
<xsl:template match=Root Element of Main query>
<xsl:for-each select=Repeat element of Main query>
<xsl:if select=[Condition Clause]>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match=Top most element of sub query [Condition clause]>
</xsl:template>
106
5. Database
When you set align field then you can extract aligned Data. You can set align order
(ascending/descending) and element type(character/number). You can also set the
number
of records to extract like all elements, higher N, and lower N
Selection Element
If you set checkbox then aligned data is extracted based on the field name. Set Off
on the
checkbox to cancel align.
Alignment Order
Set ascending/descending.
Element Type
Changing Location
When you set several field names as align option then higher field name takes
priority. To
change the priority of the element, use
button.
This set the total number of records to fetch. When you set All, fetch all elements
corresponding to condition. If you set higher element N then it extract Higher N
and if you set
Lower element N then it extract Lower N.
107
Chapter.1 Using Report Designer Editor
XSLT Style sheet is XML File consisted of several xsl:template element. For more
details on
XSLT refer to the site - http://www.w3c.org)
If you check Free Edit XSLT, Define XML Query dialog box provides Wizard method for
you. It allows you to update a created XSLT style sheet with easy.
This option can be used if you do not want to use field list created automatically
in Free Edit
XSLT. You can newly create field list with adopting modified XSLT.
In Define XML Query dialog box, this option allows you to create XSLT style sheet
by using
Define Field tab, Define Condition tab, and Define Sort/ETC tab as Wizard method.
Features
Define XML Query for main query and every sub query is to be one xsl:template
element
and the Root Element are to be matching element of style sheet template.
108
5. Database
This function shows data record in XML applied to XSLT. Click View Records in XSLT
View
tab.
XML File
Execute
Result Records
This shows Result record fetched from XML document as table type. In case sub query
is
used, data is displayed as main query, sub query1, sub query2, and the title are
the main
query title.
In case of using the $ variable in condition define, execute watch record after
substituting $ variable into real value.
109
Chapter.1 Using Report Designer Editor
3 <xsl:template match=/>
4 <xsl:element name=recordset>
5 <xsl:apply-templates select=sales />
6 </xsl:element>
7 </xsl:template>
8 <xsl:template match=/sales>
9 <xsl:variable name=heading select=summary/heading />
10 <xsl:variable name=subhead select=summary/subhead />
11 <xsl:variable name=description select=summary/description />
12 <xsl:variable name=countVal select=count(data/region) />
13 <xsl:for-each select=data/region>
14 <xsl:sort select=name order=descending data-type=text />
15 <xsl:element name=mainrecord>
16 <xsl:if test=position() <= 2>
17 <xsl:element name=record>
18 <xsl:property name=name>
19 <xsl:value-of select=name />
20 </xsl:property>
21 <xsl:property name=heading>
22 <xsl:value-of select=$heading />
23 </xsl:property>
24 <xsl:property name=subhead>
25 <xsl:value-of select=$subhead />
26 </xsl:property>
27 <xsl:property name=description>
28 <xsl:value-of select=$description />
29 </xsl:property>
30 </xsl:element>
31 <xsl:element name=subrecord>
32 <xsl:apply-templates select=quarter>
33 <xsl:sort select=@number order=descending data-type=text />
34 <xsl:with-param name=vname1 select=count(quarter) />
35 </xsl:apply-templates>
36 </xsl:element>
37 </xsl:if>
38 </xsl:element>
39 </xsl:for-each>
40 </xsl:template>
41 <xsl:template match=/sales/data/region/quarter>
110
5. Database
111
Chapter.1 Using Report Designer Editor
5.7.1.1. No Server
112
5. Database
Use MI Server is an option connecting to the server located data files through
Middleware,
which is Server Module for UNIX. To use this option, Server IP is necessay.
If MI server is not installed on the data file server, it does not operate. So, it
is required to
purchase it separately.
Use FTP Server is an option connecting to data file of the FTP server. To use this
option,
Server IP, User ID, and Password are necessary.
113
Chapter.1 Using Report Designer Editor
Use HTTP Server is an option connecting to data file using server through URL. It
allows
using CGI, Servlet, ASP, JSP that are extracting data from database, as well as
text file.
However, in case of using Servlet or JSP, their printout form has to be the
printout form
supported by Report Designer
First, select type of field from the top of Field Definition dialog box. In case
not a sub
page, you can write Default Field Definition. If it is a sub page, you can define
default field
and sub page field of each page.
Generally, one column means on e record in data file. However, in case of data
including entity value, field type should be set as VARCHAR.
114
5. Database
When a chart is showing in file connection document, type of field of with values
displayed on chart should be of Numeral (NUMERIC, INTERGER and Etc).
Delete
Modify
In order to change Define Field Set as default value, double click or select the
column and
click modify. Then you can input the desired value.
Insert/Add
Insert/ Add Field Definition with default value onto the upper or lower of selected
field in
Define Field list.
115
Chapter.1 Using Report Designer Editor
116
5. Database
After selecting on a table cell or a Text Frame object for field insertion, select
a Field Name
from the Field List in Dataset connection dialog box, and click Apply. The field
will be
connected the Object. As the follwing picture, dim text shows it is connected.
If you want to modify or delete the connected, after opening connect to dataset
dialog box,
select the object. Contents of Field name can be modified or deleted as you want.
If you selected two or more table cells and then selected the same number of fields
in field
117
Chapter.1 Using Report Designer Editor
list, clicking Apply will put each selected fields into each blocked table cell on
the order of
field list.
Map Dataset dialog box has four tabs such as Assign Variable, Prepare Summary,
Reference Field and Summary Condition.
Field Name
It shows a field name connected to an object when the object is selected with Map
Dataset.
If you want to apply a specific parameter(/rp or /rv parameter variable name) which
is not in
Field List, it is possible to input it directly.
See Appendix III. Report Designer Parameters - III.1.53 for /rp, and III.1.104
for /rv.
Field List
It shows Field names defined in Query Definition and Field Query Definition or
Field
Definition of file connection.
Write Once
When adjacent cells have the same data on a same column, it makes data only in the
first
cell to be shown. It is available in reputation clause and summary clause.
118
5. Database
Merge Cells
As Write Once, it makes all adjacent cells on a same column which has the same data
to be
merged into one cell has the same data. It is available in repetition clause and
summary
clause. Reference Field tab will be available.
Merge All
Checking Merge Cells makes it active. After Merge Cells, if next adjacent cells on
the same
column are blank, it will merge adjacent next blank cells into Merged Cells.
When adjacent cells have the same data on a same row, cells can be merged into one
cell
has the same data. This option has to be set on each column.
Summary
When summary clause is applied to Text Frame or Table Cell, Summary check out is
checked. If Summary is checked, Prepare Summary tab will be added to Map Dataset
dialog box.
When Calculation is applied by row, data property is applied according to the
condition of
data, Prepare Summary tab is used,
For example. When new column amount multiplied price by quantity is inserted, when
text
for value for amount has different color according to sales amount. Summary is
used.
119
Chapter.1 Using Report Designer Editor
Reference Field is the field to be referred before checking Write Once or Merge
Cells in a
record. Even if data of which a field is defined as Write Once or Merge Cells are
repetitiously same, if data of the reference field is different, Write Once or
Merge Cells is
not applied. You can select several reference fields.
120
5. Database
Input calculation regarding the field value input with using simple calculation by
+,-,*,/ , or
various summary functions.
This option is used only when cell of the selected table is Summary Section.
Basically,
summary section has a property that prints value calculated by the edited
calculation in
Preparing summary with specific condition
However, in case of balance sheet, it is not permitted to print the sum while its
content is not
completed. In this case, you can use View final result only after completing
internal
calculations, and value printed on the last page.
In order to help to edit summary statements, all available function are shown, its
usage is
displayed at the bottom. Copy copies the selected function from List of summary
clause
function into Prepare Summary Edit box.
121
Chapter.1 Using Report Designer Editor
It sets printing conditions of summary section. Summary Condition tab opens only
when
cell of the selected table is Summary Section.
According to Condition
It provides options such as insert to last page, or insert on each page, or insert
each
repeated part, etc
According to Field
122
For a better view of the report form, you can insert a blank line as many as you
defined after
printing summary section
This can be applied when Draw Blanks check box is checked in Table > Set Table
Properties. When summary section is printed by summary print condition, summary
section
will be printed after printing the blank if Draw Blanks is applied.
Enter Conditions
Enter Values
123
Chapter.1 Using Report Designer Editor
Add
After editing the replacement condition, if you click Add, the contents of edited
replacement
condition will be inserted to below Replacement Condition Output box.
Modify
When you want to modify the replacement condition, select the replacement condition
to be
modified. After changing Enter Conditions, Enter Values, Enter Default Values, if
you click
Apply then the modification will be completed.
124
125
Chapter.1 Using Report Designer Editor
Script makes reference file list active and shows Reference Script window.
5.10.7. Buttons
OK
OK button verifies script grammar as clicking Verify button and closes Script
dialog box,
and then finally you can edit a report.
Cancel
Cancel returns script to the previous status. That is to say, if you edit script
after opening
Script dialog box, the modified script will go back when Script dialog box opened.
However
after script modified, if you had clicked Apply, OK, Cancel button cannot returns
the script to
the previous status. And after modifying script and closing Script dialog box, even
if you
open Script dialog box, Cancel button cannot returns the script to the previous
status.
126
Apply
5. Database
Apply button applies the modified script to the current report. If you click Apply
button, the
modified script will be saved and it can be returned by Cancel button.
Verify
Verify button grammatically verifies the script described in the current file. If
the script has a
grammar mistake, it let you know where the mistake made.
Delete
Delete button deletes a variable name of the selected object. The variable name in
Variable
List is also deleted.
Even if a variable name in Script dialog box is deleted, the object in Editor
Window will
not be deleted.
Merge Cells
Merge Cells adjacent cells repetitiously have the same data on a same column, it
makes
data only in the first cell to be shown without repetitiously showing data in all
adjacent cells.
In order to apply Merge Cells, after select the cell in a report or the object
variable name,
apply Merge Cells.
Merge Adjacent Cells adjacent cells have repetitiously same data on a same row,
cells can
be merged into one cell with the data. This option has to be set on each column.
Merge
Adjacent Cells merges cells when horizontally adjacent cells by a column applied
the
repeating option have the same content. Merge Adjacent Cells should be applied to
all two
cells.
Write Once
Write Once adjacent cells have the same data on a same column, Write Once makes
data
only in the first cell to be shown without repetitiously showing data in all
adjacent cells.
Merging Cells and Write Once can be used when the repeating option is assigned to
the table.
5.10.8. Pop-up menu on Script Edit Window
Pop-up menu appears when you right-click a mouse in script edit window as shown
below
127
Chapter.1 Using Report Designer Editor
Save as File
Open From File opens saved a script file or a text file edited from a text editor
programs.
Find/Replace String
Find/Replace String finds or replaces certain string in saved script file or text
file edited
from a text editor.
Even if you press Ctrl + F, while editing a script, same Find/Replace dialog box
will appear.
If you check Find whole words only, you can find the word consisting of the
inputting
character string. And if you check Case Sensitive, you can find the character
string which is
consisted of letters and capitals exactly as you inputted.
The search will start from the location where the cursor is blinking in the current
Edit window.
When the cursor moves to the end of the document, Find process will start again.
Zoom In
Zoom In menu zooms in the size of script edit window in script dialog box as much
as
possible. When you use this function, it separates from the section and shows the
part of
variable name and script edit window. When you want to return to original Script
dialog box,
click Zoom In menu once more on Pop-up menu after clicking the mouse left button on
Script window.
View Records is used for viewing the database value directly. Selecting Database >
View
Records or clicking View Records( ) on the Database toolbar opens Record View
dialog box.
In order to use View Records, the database to be viewed records is connected. After
opening View Records dialog box, if you select the desired table from Table combo
box, the
corresponding field name and result records are shown.
View Records
After selecting one more field name, if you click View Records, result records of
the selected
field can be viewed.
When there are too many results, you can filter result records by entering
conditions at
Condition edit box (Where clause). The condition is edited with including Where.
Save File
129
Chapter.1 Using Report Designer Editor
In the dialog box, select the sub page to be applied Define Data Division for
SubPages.
And then click Add after selecting the field value of main query to be divided as
the condition
clause.
The sub page data need to be sorted by the sub query field name compared to the
main
query field value. If the comparing field name is more then two, the order of the
selected
main query’s field name have to accord with the order of the field name to be used
in sub
query’s conditional clause.
For example, when you draw a report with referring to Employees.EmployeeID which is
a
main query field in sub query, you have to insert main query field name into WHERE
clause.
However Using Set sub page data , you need to insert only Employees.EmployeeID
value
to be referred in the page into Set Sub Page data dialog box after editing WHERE
clause
and ORDER BY clause as shown below. It makes the sub query to be processed just
once
and makes the total query processing time shorter.
130
5. Database
) on the
Before creating PL/SQL Block, Pre Processor or Post Processor has to be selected.
Add
button adds Host Variables using in PL/SQL Block. If you double click Variable Name
or
Length, both can be changed directly. Variable type is limited to CHAR type.
131