SQL Server Reporting Services Question:

What happens when my integer IDENTITY runs out of scope?

Tweet Share WhatsApp

Answer:

An integer data type can have a variety of IDENTITY values like int, bigint, tinyint etc.

To avoid the integer IDENTITY to run out of scope, BIGINT should be used as the data type or DECIMAL (38,0)

CREATE TABLE sample_t ( col1 BIGINT IDENTITY(-9223372036854775808, 1) )

Download SSRS PDF Read All 17 SSRS Questions
Previous QuestionNext Question
Define Identity and uniqueidentifier property of Column?What are the advantages of using Stored Procedures?