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 live online training, plus books, videos, and digital content from nearly 200 publishers.