March 2022
Intermediate to advanced
682 pages
22h 58m
English
For the interactive SQL statements shown so far, we assumed that there was a user interface that provided an environment to accept, interpret, and execute the SQL commands directly. However, database access can also be performed through programs.
Most DBMSs include an extension of SQL, called Persistent Stored Modules (PSMs), to allow users to write stored procedures, also called internal routines, which are program modules that are stored on the database server. The SQL/PSM standard is designed to provide complete programming language facilities, including constants, declared variables, assignment statements, control structures, and error handling. These facilities are used to ...