How to update data as json array and select data as json array in sql server
问题 I am new in SQL server 2017 for JSON result. I am storing JSON array in one column in my table. I am saving id's array in that table, but i want to update its relative text from other table, so please help me in this. create table #subjectList(subjectID int identity(1,1),subjectName varchar(50)) insert into #subjectList(subjectName) select 'Math' union all select 'English' union all select 'Hindi' union all select 'PC' union all select 'Physics' select * from #subjectList Create table