Snowflake Vs MS-SQL - Part 35 - iLike ANY

       


iLike ANY

If you have a dataset as below and want to make a comparison to match a string against data with a wild card like 'o%' or 'f%':



Expected Result:




MS-SQL Server 

You can do this using a like clause along with OR as below: 



In Snowflake, we can go with a similar approach, however, we can use the iLike and flexibility of ANY.



For more details, you can refer to the following iLike_Any. 



Yogesh Shinde

LinkedInProfile

<<< Back Next >>> 

Comments

Popular posts from this blog

Snowflake Vs MS-SQL - Series

Snowflake Key Concepts

Snowflake Vs MS-SQL - Part 46 - RATIO_TO_REPORT