Skip to content

Commit e8ae896

Browse files
authored
Create 5-json-textcontains-query.sql
1 parent b46e65a commit e8ae896

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
REM Script for 23c: 5-json-textcontains-query.sql
2+
REM Query using JSON_TEXTCONTAINS
3+
4+
-- JSON_TEXTCONTAINS checks if a specified string exists in JSON property values or not.
5+
select metadata from SEARCH_PRODUCTS
6+
where JSON_TEXTCONTAINS(data,'$.CO.STORES.PHYSICAL_ADDRESS','fuzzy(LOS)');

0 commit comments

Comments
 (0)