摘要: --Functioncreate FUNCTION dbo.f_splitBinary(@s varbinary(max)) returns @t table(id int identity(1,1),Value binary(1)) as BEGIN declare @i int, @im int; select @i=1,@im=datalength(@s); while @i<=@im begin insert into @t select substring(@s,@i,1); set @i=@i+... 阅读全文
posted @ 2013-01-25 12:03 kuailewangzi1212 阅读(185) 评论(0) 推荐(0) 编辑