摘要:
--动态处理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 --where StuName='林健辉' declare @sql1 varchar(max) declare @sql2 varchar(max) declare @id int declare @maxid int select 阅读全文