USE [SRO_VT_SHARD] GO /* MsSQL Script For Change Magic Pop Rates - ! */ DECLARE @Rate int SET @Rate = 5 UPDATE dbo._RefGachaItemSet SET Ratio = Ratio*@Rate WHERE Ratio*@Rate < 32768 -- 32767 max value for smallint