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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.