Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Programming Language

SQL/PSM

Query Language

SQL/PSM, short for SQL/Persistent Stored Modules, is an ISO standard that mainly defines an extension of SQL with a procedural language for use in stored procedures. It was first published in 1996 as an extension of SQL-92, as ISO/IEC 9075-4:1996, and was later folded into the multi-part SQL:1999 standard, where it has been part 4 ever since, most recently in SQL:2023. The SQL statements for defining, managing and invoking routines moved into part 2, SQL/Foundation, so that only the procedural language itself remains in SQL/PSM. It standardizes the syntax and meaning of control flow, condition handling, local variables, assignment to variables and parameters, and procedural use of cursors, and it defines an information schema for stored procedures. Its facilities are optional in the SQL standard. The language is derived, apparently directly, from Oracle PL/SQL, which was itself based on Ada; IBM SQL PL and Mimer SQL were the first two products officially implementing it, and several other database procedural languages follow it closely without being fully compatible.

Facts
First Released
1996 1
Paradigm
Procedural 2
Primary Use Domain
Database querying 2
Connections

In Field

Source SQL/PSM (Wikipedia)

Influenced By

Source SQL/PSM (Wikipedia)
Sources
1. Programming Language Database (PLDB): SQL/PSM (PLDB)
Programming Language Database (PLDB)Page summary, creation year
Quote, Page summary, creation year
SQL/PSM is a programming language created in 1996.
View the Source
2. SQL/PSM (Wikipedia)
  • Lead, procedural language
    SQL/PSM (SQL/Persistent Stored Modules) is an ISO standard mainly defining an extension of SQL with a procedural language for use in stored procedures.
  • Lead, stored procedures
    SQL/PSM (SQL/Persistent Stored Modules) is an ISO standard mainly defining an extension of SQL with a procedural language for use in stored procedures.
  • Influenced By: PL/SQL, Body, derivation
    SQL/PSM is derived, seemingly directly, from Oracle's PL/SQL.
  • In Field: Programming Language Theory, Lead
    SQL/PSM (SQL/Persistent Stored Modules) is an ISO standard mainly defining an extension of SQL with a procedural language for use in stored procedures.
  • In Group: SQL and Its Procedural Extensions, Lead
    SQL/PSM (SQL/Persistent Stored Modules) is an ISO standard mainly defining an extension of SQL with a procedural language for use in stored procedures.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.