3

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.

Andrea
  • 11,801
  • 17
  • 65
  • 72
davCantor
  • 31
  • 1
  • 5

0 Answers0