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

KB18204: What is the difference between 'Contains' and 'Like' qualification operators when defining filters in MicroStrategy Developer?


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This article describes the difference between the 'Contains' and 'Like' qualification operators.

Users may want to know what the difference is between 'Contains' and 'Like' qualification operators when defining filters in Strategy Developer. This is described below:
 
'Like' Qualification operator:

ka02R000000kbNeQAI_0EM440000002XCi.png

SQL Generated:


select a11. AS CATEGORY_ID,
a11. AS CATEGORY_DESC
from a11
where a11. like 'Book'

ka02R000000kbNeQAI_0EM440000002VAn.jpeg

 
'Contains' Qualification operator:

ka02R000000kbNeQAI_0EM440000002VAl.jpeg

SQL Generated:


select a11. AS CATEGORY_ID,
a11. AS CATEGORY_DESC
from a11
where a11. like '%Book%

ka02R000000kbNeQAI_0EM440000002VAm.jpeg

 
The 'Contains' operator adds a wild character automatically to the search string, while the 'Like' operator matches for the exact search string.
 


Comment

0 comments

Details

Knowledge Article

Published:

July 14, 2017

Last Updated:

July 14, 2017