Chapter 6
Understanding SQL’s Procedural Capabilities
IN THIS CHAPTER
Using embedded SQL statements
Working with compound statements
Creating flow of control statements
Working with stored procedures
Executing SQL statements with triggers
Taking advantage of stored functions
Granting privileges
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, 3rd 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.