What is the limit of the field type BIGINT in SQL?

前端 未结 4 2182
暖寄归人
暖寄归人 2021-01-04 02:10

What is the limit of the field type BIGINT in SQL?

is 100000235882380 or 100000466411115 acceptable? (That is ID from facebook)

4条回答
  •  温柔的废话
    2021-01-04 02:13

    Yes, according to int, bigint, smallint, and tinyint (Transact-SQL):

    bigint -2^63 (-9,223,372,036,854,775,808) to 2^63-1 (9,223,372,036,854,775,807)

提交回复
热议问题