Blitz Report Parameter Bind Variable Validation

Description

Categories
Enginatics
Repository
GitHub
This report can be used to check which :bind variables were assigned to which Blitz Report parameter, in case there are more than one :binds in the parameter sql text, or in case the same :bind variable name is incorrectly used in different parameters.

SQL 40 lines

Parameters 5

ParameterTypeList of values SQL
CategoryLOV
xrpv.report_id in (
select
xrca.report_id
from
xxen_report_category_assigns xrca,
xxen_report_categories_v xrcv
where
xrcv.category=:category and
xrcv.category_id=xrca.category_id
)
Category is notLOV
xrpv.report_id not in (
select
xrca.report_id
from
xxen_report_category_assigns xrca,
xxen_report_categories_v xrcv
where
xrcv.category=:category_is_not and
xrcv.category_id=xrca.category_id
)
Report NameLOV
xrpv.report_name=:report_name
Parameters with missing :bindsLOV
z.bindvar_name is null
Parameters with multiple :bindsLOV
y.bind_count>1