SQL Server Reporting Services Question:

Download Job Interview Questions and Answers PDF

What happens when my integer IDENTITY runs out of scope?

SSRS Interview Question
SSRS Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Define Identity and uniqueidentifier property of Column?What are the advantages of using Stored Procedures?