I am trying to retrieve values from a json string stored in an sqlserver object using SQL. this is what I have
SELECT JSON_VALUE([JSOn_Field], '$.name')
FROM users
I am getting this error:
Argument data type text is invalid for argument 1 of json_value function.