Q1
True / FalseIn SQL Server, the ALTER TABLE statement can be used to add a new column to an existing table.
The ALTER TABLE statement allows you to add a new column to an existing table.
Q2
True / FalseYou can use the ALTER TABLE statement to change the data type of an existing column in SQL Server.
The ALTER TABLE statement allows you to change the data type of an existing column.
Q3
True / FalseIn SQL Server, you can use the ALTER TABLE statement to drop a column from a table.
The ALTER TABLE statement allows you to drop an existing column from a table.
Q4
True / FalseThe ALTER TABLE statement in SQL Server can be used to rename a table.
In SQL Server, the ALTER TABLE statement cannot rename a table; the sp_rename system stored procedure is used instead.
Q5
True / FalseYou can use the ALTER TABLE statement to add a primary key constraint to an existing table in SQL Server.
The ALTER TABLE statement allows you to add a primary key constraint to an existing table.
Q6
True / FalseIn SQL Server, the ALTER TABLE statement cannot be used to modify a column's default value.
The ALTER TABLE statement can be used to change the default value of a column.
Q7
True / FalseYou can use the ALTER TABLE statement to disable a foreign key constraint in SQL Server.
The ALTER TABLE statement can be used to disable a foreign key constraint.
Q8
True / FalseThe ALTER TABLE statement in SQL Server can be used to move a table to a different schema.
The ALTER TABLE statement can be used to move a table to a different schema using the SWITCH TO clause.
Q9
True / FalseIn SQL Server, the ALTER TABLE statement can be used to create an index on an existing table.
Creating an index is done using the CREATE INDEX statement, not the ALTER TABLE statement.
Q10
True / FalseYou can use the ALTER TABLE statement to add a CHECK constraint to an existing table in SQL Server.
The ALTER TABLE statement allows you to add a CHECK constraint to an existing table.
Q11
True / FalseThe ALTER TABLE statement in SQL Server can be used to change the collation of a column.
You can use the ALTER TABLE statement to change the collation of a column.
Q12
True / FalseIn SQL Server, the ALTER TABLE statement cannot be used to modify a table's schema.
The ALTER TABLE statement can be used to modify a table's schema, such as adding or dropping columns, constraints, and indexes.
Q13
True / FalseYou can use the ALTER TABLE statement to drop a primary key constraint from a table in SQL Server.
The ALTER TABLE statement can be used to drop a primary key constraint from a table.
Q14
True / FalseThe ALTER TABLE statement in SQL Server can be used to rename a column.
The ALTER TABLE statement in SQL Server can be used to rename a column using the sp_rename system stored procedure.
Q15
True / FalseIn SQL Server, the ALTER TABLE statement can be used to modify the identity property of an existing column.
You cannot directly modify the identity property of an existing column using the ALTER TABLE statement.