sql >> Base de Datos >  >> RDS >> Mysql

Servidor Mysql vs sql express (HEX -> bigint y bigint -> conversión HEX)

BIGINT el rango superior es 2 para potenciar 63 - 1:

 9,223,372,036,854,775,807   -- upper range of BIGINT
15,723,311,803,489,129,744   -- converted "DA346CC793AD1510" value

BIGINT no puede almacenar dicho valor y simplemente se desborda:

9,223,372,036,854,775,807 -> (overflow) -> starting from the lowest value (-9,223,372,036,854,775,808) + (15,723,311,803,489,129,744 - 9,223,372,036,854,775,807) -> -2,723,432,270,220,421,872