Bind Variables are parameters defined in a reports wand sql statement. They are implemented by the administrator or developer who created the SQL statement and are used to limit the results of a reports wand report. Bind Variables are identified by a preceding colon character.

FieldDescription

Editable

Effect on user

SequenceThe sequence number of bind variable in the SQL statement. It is determined by the sequence it is implemented in the SQL statementNoParameters will be presented to the users in this sequence.

Name

The name of the bind variable in the SQL statement. It is determined by the name given to the bind variable in the SQL statement.NoIf a Prompt value is not specified then the bind variable name will be presented to the users.
DescriptionThe description of the bind variable and what it is used for. It is used to provide helpful information to the user.YesAppears in the parameter field, presented to the users, as a light grey hint on how to use the parameter.
TypeThe data type of the parameter. ie. CHAR - Character, DATE - date, INTEGER - number, DOUBLE - number with decimalsYesAssigning the correct data type to your bind variable with benefit the user greatly. If DATE is specified a calendar will be presented to assist users entering in dates.
LOVList of Values. This indicates that you'd like to specify a Value Set for the list of values. The only supported list of values are for the CHAR data type.Yes - only if CHARUsers will be allowed to select a value from the LOV.
Value SetThe Value Set in Oracle that is going to provide the users with the list of values. It can only be specified if the Type field is set to CHAR. Additionally, only table validated and independent value sets can will be available for use.Yes - only if CHARUsers will be allowed to select a value from the LOV.
DefaultThe default value for the bind variableYesThis will pre-populate the parameter so the user will already have an initial value that can be used.
PromptThe user presentable name for the bind variableYesIf a Prompt value is not specified then the bind variable name will be presented to the users.

Below is how the bind variables are presented in the Create Reports Definition Wizard

Below is how the bind variable will be presented to the user as Parameters.

 

Attachments: