sql server json to tables code example Example: json in sql server SELECT name, surname FROM emp FOR JSON AUTO;