首页 新闻 会员 周边
1
回答数

待解决问题 tsql 如何输出 int array

我有一个子表,比如: select id from (values(1),(3)) as x(id) 我现在希望输出json: { "n":"N", "ids":[1,3] } sql 该怎么写呢?