Q&A

Q1:If I create a temporary table, can any other users use my table?
A1: No, the temporary table is available only to its creator.
Q2:Why must I close and deallocate a cursor?
A2: Because memory is still allocated for the cursor, even though its name may no longer exist.
Q3:Are triggers, stored procedures, and embedded SQL ANSI SQL?
A3: Yes.
Q4:Do triggers respond only to INSERTs, UPDATEs, and DELETEs?
A4: Yes, triggers are a special type of stored procedure that are executed in response to an INSERT, UPDATE, or DELETE.

Get Sams Teach Yourself SQL in 21 Days, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.