Home › Discussions › Questions & Answers › Ensuring Parameter Anchors Exist in Main SQL

Ensuring Parameter Anchors Exist in Main SQL

Avatar photoCustomer Questions & Answers 5 replies

We have new developers creating Blitz Reports, and we need a tool to ensure they are correctly associating parameters with anchors that exist in the main report SQL, or catching typos in the anchor definition. Which report can perform this validation?

5 replies

  • Support Enginatics

    Use the Blitz Report Parameter Anchor Validation report. It checks if all parameter anchors exist in the `xxen_report_parameter_anchors` table, ensuring correct linkage.

  • If a developer needs to insert dynamic SQL text multiple times within the report’s main SQL, is that supported with a single anchor?

  • Support Enginatics

    Yes, the same anchor may be used multiple times inside a report SQL, and Blitz Report inserts the corresponding parameter text for each occurrence at run-time.

  • If we want to enable the ‘Multiple Values’ checkbox for a parameter, is there any restriction on the anchor type we can use?

  • Support Enginatics

    Yes, the multiple values functionality is only available for parameters using anchor styles `1=1` or `&lexical`, not for `:bind` anchors.

  • You must be logged in to reply to this post.