Question 156
[Q.36] Which SQL command is classified as a Data Definition Language (DDL) command?
Detailed Solution
ALTER, CREATE, DROP, TRUNCATE are DDL commands that modify schema structure.
[Q.36] Which SQL command is classified as a Data Definition Language (DDL) command?
ALTER, CREATE, DROP, TRUNCATE are DDL commands that modify schema structure.
[Q.57] What is the main difference between SQL 'DELETE' and 'TRUNCATE' statements?
DELETE is a DML command working row-by-row; TRUNCATE is a high-speed DDL command deallocating table data pages.
[Q.58] In Relational Database design, a candidate key that is NOT selected as the primary key is called a:
Candidate keys consist of primary key + alternate keys.
[Q.59] A database table is in Second Normal Form (2NF) if it is in 1NF and:
2NF eliminates partial functional dependencies on candidate/primary keys.
[Q.60] What does the 'Atomicity' property in ACID transaction rules ensure?
Atomicity guarantees that a transaction executes as an indivisible unit of work.