sql server query set json variable value from select query code example Example: jsonvalue sql JSON_VALUE(jsonInfo,'$.info.address[0].town')