skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_strlikecmp
 

dam_strlikecmp

This function compares the given string to check if it matches the LIKE pattern. The function does a case-insensitive compare and ignores trailing blanks. An IP can use this function to match schema objects.
int dam_strlikecmp(
char * pLikeString,
char * pMatchString)

int dam_strlikecmpW(
OAWCHAR * pLikeString,
OAWCHAR * pMatchString)
Table 179. Parameters for dam_strlikecmp
Parameter
Type
Description
IN
pLikeString
char *
OAWCHAR *
The pattern string to check against.
pMatchString
char *
OAWCHAR *
The input string that needs to be checked.
RETURN
int
TRUE - pMatchString matches the pLikeString pattern.
FALSE - pMatchString does not match the pLikeString pattern.