Q1
True / FalseAUTO INCREMENT columns in SQL Server automatically generate unique values.
AUTO INCREMENT columns generate unique values automatically, ensuring each value is distinct.
Q2
True / FalseAUTO INCREMENT is typically used for primary keys in SQL Server.
AUTO INCREMENT is commonly used for primary keys to ensure unique identifiers for each row.
Q3
True / FalseYou can manually insert values into an AUTO INCREMENT column.
Typically, values are automatically inserted into AUTO INCREMENT columns, but manual insertion is possible with specific settings.
Q4
True / FalseAUTO INCREMENT columns can contain negative values.
AUTO INCREMENT columns usually start from a positive integer and increment positively.
Q5
True / FalseSQL Server uses the IDENTITY property to create AUTO INCREMENT columns.
In SQL Server, the IDENTITY property is used to define AUTO INCREMENT columns.
Q6
True / FalseThe AUTO INCREMENT value in SQL Server resets after a server restart.
The AUTO INCREMENT value does not reset after a server restart; it continues from the last value used.
Q7
True / FalseYou can specify the starting value for an AUTO INCREMENT column in SQL Server.
The starting value for an AUTO INCREMENT column can be specified using the IDENTITY property.
Q8
True / FalseThe AUTO INCREMENT value can only increase by 1.
The increment value can be specified and is not limited to 1.
Q9
True / FalseAn AUTO INCREMENT column can be part of a composite key in SQL Server.
AUTO INCREMENT columns can be included in composite keys.
Q10
True / FalseThe IDENTITY property is used exclusively for AUTO INCREMENT functionality.
The IDENTITY property in SQL Server is primarily used for AUTO INCREMENT functionality.
Q11
True / FalseAUTO INCREMENT columns require unique constraints in SQL Server.
AUTO INCREMENT columns inherently generate unique values, but additional unique constraints can be defined.
Q12
True / FalseAUTO INCREMENT columns can have default values.
AUTO INCREMENT columns do not need default values as they automatically generate values.
Q13
True / FalseYou can change the increment value of an AUTO INCREMENT column after its creation.
The increment value of an AUTO INCREMENT column can be changed using the IDENTITY property.
Q14
True / FalseAUTO INCREMENT columns can be created on varchar data types.
AUTO INCREMENT columns are typically created on integer data types.
Q15
True / FalseYou can use the IDENTITY_INSERT statement to manually insert values into an AUTO INCREMENT column.
The IDENTITY_INSERT statement allows manual insertion of values into an AUTO INCREMENT column.