I am trying to parse through a column that has user queries logged in string format. For example
"select from table where date=2023.01.01"
"select from table2 where date = 2024.01.01"
"select from table3 where date >= 2022.01.01"
My goal is to extract date and save it in a different column in date format. I am doing it the following way which works for one kind
update queryDate:first each "," vs/: last each "date=" vs/: colName from tableName;
update "D"$queryDate from tableName;
This works well if the query string has "date=" but not if "date =" or "date >=" or "date>=" and definitely not if query has "date within"
Is there a good way to include all the above possibilities in the condition above?
Thanks!
Another approach is to do a wildcard search using
ssand index in, e.g