How do I insert a JSON integer array to a table column in SQL server. Suppose I have the following json variable:
declare @jsonArray as varchar(max);
set @jsonArray = '[1,2,3,4]';
How do I insert the integer values into a table's integer type column using some of the SQL server JSON statements/functions?