The BEGIN and END statements are used when:
A. A WHILE loop needs to include a block of statements
B. An element of a CASE expression needs to include a block of statements
C. An IF or ELSE clause needs to include a block of statements
D. All of the mentioned
Answer:A
The BEGIN and END statements are used when:
A. A WHILE loop needs to include a block of statements B. An element of a CASE expression needs to include a block of statements C. An IF or ELSE clause needs to include a block of statements D. All of the mentioned
Explanation:A BEGIN and END statement block must contain at least one Transact-SQL statement.