declare @x bigint set @x=-1920056908
select case when @x<0 then 4294967296+@x
else @x end as resultset @x=920056908
select case when @x<0 then 4294967296+@x
else @x end as result
select case when @x<0 then 4294967296+@x
else @x end as resultset @x=920056908
select case when @x<0 then 4294967296+@x
else @x end as result
result
----------------------
2374910388(所影响的行数为 1 行)result
----------------------
920056908(所影响的行数为 1 行)