一个通用的交叉制表存储过程[38]

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

本文简介:选择自 lzmtw 的 blog

         raiserror 51050 'column data length exceeded max of 30.'

         return -1

     end

    

     /* if all is ok,continue to add #rownames data */

    

     select @chvexec = 'insert #rownames select distinct ' +

         case @introwtype

         when 1 then 'convert(varchar(255), '

         else ''

         end + rtrim(@chrrowhead) +

        

本文关键:一个通用的交叉制表存储过程
  相关方案
Google
 

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

go top