一些有用的SQL Server语句和存储过程[27]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 applebbs 的 blog

/span>+col+'+'',''+' ,@sqlstr2=@sqlstr2+name +',' from (select case 
368
369--     when a.xtype =173 then 'case when '+a.name+' is null then ''null'' else '+'convert(varchar('+convert(varchar(4),a.length*2+2)+'),'+a.name +')'+' end'
370
371       when a.xtype =104 then 'case when '+a.name+' is null then ''null'' else '+'convert(varchar(1),'+a.name +')'+' end'
372
373       when a.xtype =175 then 'case when '+a.name+' is null then ''null'' else '+'''''''''

本文关键:一些有用的SQL Server语句和存储过程
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top