Sql server 在SQL中插入长字符串
是否有一种将长字符串插入SQL Server的方法,如:Sql server 在SQL中插入长字符串,sql-server,Sql Server,是否有一种将长字符串插入SQL Server的方法,如: " [$('<input>').attr({'class':'inp'}), ['type:Input']]; " “[$('').attr({'class':'inp'}),['type:Input']] 不用把它分成几十块 愚蠢的问题,下面是愚蠢的答案: declare @longstring varchar(max) set @longstring = '[$('''').attr({''class'':''
" [$('<input>').attr({'class':'inp'}), ['type:Input']]; "
“[$('').attr({'class':'inp'}),['type:Input']]
不用把它分成几十块 愚蠢的问题,下面是愚蠢的答案:
declare @longstring varchar(max)
set @longstring = '[$('''').attr({''class'':''inp''}), [''type:Input'']];'
你说不必把它分成几十块是什么意思?你的答案就是我所问的关于避免的。