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 Snowflakewe 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 - Part 36 - SPLIT_TO_TABLE

Snowflake Vs MS-SQL - Part 63 - ON Clause & Cross Join

Snowflake Vs MS-SQL - Part 33 - INITCAP