CONTAINS | Snowflake Documentation

PHOTO EMBED

Fri Mar 22 2024 18:03:52 GMT+0000 (Coordinated Universal Time)

Saved by @rosasoracio

SELECT * from strings;

---------+
    S    |
---------+
 coffee  |
 ice tea |
 latte   |
 tea     |
 [NULL]  |
---------+

SELECT * FROM strings WHERE CONTAINS(s, 'te');

---------+
    S    |
---------+
 ice tea |
 latte   |
 tea     |
---------+
content_copyCOPY

https://docs.snowflake.com/en/sql-reference/functions/contains