网狐棋牌平台的打乱注册ID混乱数据脚本

自助开通VIP,整站资源任意下载

@BeginTime INT
@EndTime INT
set @BeginTime= 1
set @EndTime= 180000   --打乱多少次,比GameIdentifier表最大的 UserID 小一些

@FirstID INT
@SecondID INT
@FirstTempID INT
@SecondTempID INT

网狐棋牌平台的打乱注册ID混乱数据脚本,网狐棋牌平台的打乱注册ID混乱数据脚本,棋牌,网狐棋牌,网狐,第1张

@MaxD INT
@INT

select  @MaxD=count()   from [QPGameUserDB].[dbo].[GameIdentifier]
set  @= len(CONVERT(10), @MaxD))


while (@BeginTime<@EndTime)
BEGIN

set @FirstID= @BeginTime+(cast((cast(power(10,(cast((@Count-1)rand(checksum(newid())) as int)+1)) as int))rand(checksum(newid())) as int))+1
set @SecondID= @MaxD-(cast((cast(power(10,(cast((@Count-1)rand(checksum(newid())) as int)+1)) as int))rand(checksum(newid())) as int))+1
select   @FirstID, @SecondID ,@MaxD
if @FirstID > @MaxD
begin
  set @FirstID=@MaxD-(cast((cast(power(10,(cast((@Count-2)rand(checksum(newid())) as int)+1)) as int))rand(checksum(newid())) as int))
end
if @SecondID > @MaxD
begin
  set @SecondID=@MaxD-(cast((cast(power(10,(cast((@Count-1)rand(checksum(newid())) as int)+1)) as int))rand(checksum(newid())) as int))
end
select   @FirstID, @SecondID, @MaxD
@FirstTempID = GameID from GameIdentifier where UserID 
@SecondTempID = GameID from GameIdentifier where UserID 

-- @FirstTempID , @SecondTempID

网狐棋牌平台的打乱注册ID混乱数据脚本,网狐棋牌平台的打乱注册ID混乱数据脚本,棋牌,网狐棋牌,网狐,第2张

GameIdentifier set GameID = GameID10 where UserID 
GameIdentifier set GameID = @FirstTempID where UserID 
GameIdentifier set GameID = @SecondTempID where UserID 

@FirstTempID = GameID from GameIdentifier where UserID 
@SecondTempID = GameID from GameIdentifier where UserID 
-- @FirstTempID , @SecondTempID

SET @BeginTime=@BeginTime+1
END

① 本网站名称及网址:八爷资源网 | www.8ye.vip
② 本网站资源来源于网络收集,如有侵权,请联系站长进行删除处理。
③ 分享目的仅供大家学习和交流,请不要用于商业用途,否则后果自负。
④ 如果你也有好源码或者教程,可以联系小编,有钻石奖励和额外收入。
⑤ 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解。
⑥ 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需。
⑦ 本站资源大多存储在云盘,如发现链接失效,请联系客服,我们会第一时间更新。
八爷资源网 » 网狐棋牌平台的打乱注册ID混乱数据脚本

VIP会员尊享专属特权,真正的海量,无套路,无限量下载!

游戏演示 联系客服