EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB442292 : Different SQL is seen during integrity manager test when there is wildcard used in the report/document


Community Admin

• Strategy


This knowledge base article describes a scenario where integrity manager comparison test may report SQL failure between the base and target reports, when there is wildcard used in the report/document.

Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.
DESCRIPTION:
When performing Integrity manager comparison test on reports/documents using wildcard, Integrity manager result may report SQL failure between the base and target reports if base and target tests results into different wildcard resolution.
For reference, here is the list of wildcards that may be be used in Strategy.
Here is an example:
STEPS TO REPRODUCE:
1. Create the following report:

ka0PW0000001JWrYAM_0EM44000000RQyK.png

2. Go to Data menu and select VLDB Properties... and change the following property to have the wild card for JobID.

ka0PW0000001JWrYAM_0EM44000000RQyZ.png

3. Run the report in SQL view and notice that job ID is part of the SQL.

ka0PW0000001JWrYAM_0EM44000000RQyj.png

4 Close the report, clear report cache and run the report in SQL view again and notice that job ID is part of the SQL and is different.

ka0PW0000001JWrYAM_0EM44000000RQyo.png

CAUSE:
Running the above report again will produce different SQL. This is an expected behavior. If the wildcard is used in a filter of a report/document, it will always generate different SQL.
  
 
ACTION:
Starting Strategy 11.0 release, Following wild cards are now resolved in Query Execution phase and not in SQL Generation phase. So, any report's SQL view (without executing it first) will not show the resolved wild cards. The he wild cards will be resolved in Query Execution phase and will have no functionality impact on the report execution. Since Integrity manager compares the SQL before execution, it may report SQL failure between base and target reports for report/document/dossier with wildcard during integrity manager comparison test. However, this failure can be ignored if the user confirms it's caused by a wildcard usage.
Following wildcards are NOT replaced in SQL Generation but are replaced in Query Engine Execution:
!d:     Date
!j:      Job ID
!t       Timestamp
!s      User Session GUID
!i       Job PU ID
!u      User Name
!p      Project Name
!z      Project ID
Strategy reference numbers for this technical note are KB442292 and US116459.


Comment

0 comments

Details

Knowledge Article

Published:

November 20, 2018

Last Updated:

March 21, 2024