📜  sqlcmd xml 输出在每 2033 个字符后插入换行符 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:27.779000             🧑  作者: Mango

代码示例1
-- Useless
select row_number() over(order by (select 1)) as rn
from sys.all_objects
for json auto

-- Useful
select (
  select row_number() over(order by (select 1)) as rn
  from sys.all_objects
  for json auto
)