Chapter 6: Understanding SQL’s Procedural Capabilities

In This Chapter

arrow Using embedded SQL statements

arrow Working with compound statements

arrow Creating flow of control statements

arrow Working with stored procedures

arrow Executing SQL statements with triggers

arrow Taking advantage of stored functions

arrow Granting privileges

arrow Upping the stakes with stored modules

In its original incarnation, SQL was conceived as a data sublanguage, the only purpose of which was to interact with relational databases. It was considered acceptable to embed SQL statements within procedural language code written in some full-featured language to create a fully functional database application. For a long time, however, users wanted SQL ...

Get SQL All-in-One For Dummies®, 2nd 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.