Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sqlcmd xml output insert line break after every 2033 characters

-- 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
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sqlcmd #xml #output #insert #line #break #characters
ADD COMMENT
Topic
Name
1+7 =