第四种行转列

 --动态处理 select A.StuName,A.BZKTypeName,cast(A.BKCODE as varbinary(MAX)) even,       row_number() over (partition by StuName,BZKTypeName order by getdate()) ID     into #t1     from BKLIST A     --wher
相关文章
相关标签/搜索