Chapter Quiz: SQL Foundations & DDL (Data Definition Language)

SQL Foundations & DDL

Complete this assessment with 100% score to master this chapter.

01Which DDL operation is technically an O(1) metadata operation that deallocates data pages without logging individual row deletions?

02In a B+ Tree storage engine, what is the primary physical effect of defining a PRIMARY KEY constraint?

03Why is using DECIMAL(p, s) preferred over FLOAT for financial data in SQL?

04What is the primary difference between CHAR(n) and VARCHAR(n) at the storage layer?

05Which lock type is typically acquired by an ALTER TABLE operation that requires a full table rewrite, blocking all other operations?