I understand the distinction between:
- Scalar functions
- Set-Returning-Functions (SRF)s
- Internal functions
- Window functions
- Aggregate functions of all sorts
- User-Implemented functions (which in PostgreSQL can be implement in any language)
- Etc.
In SQL Server "Stored Procedures" are permitted through EXEC
. What does that provide over any other function executed with SELECT
that returns NULL
?
When PostgreSQL gets Stored Procedures what will they bring me, and what is the formal distinction if any between a function and a stored procedure in the spec?
I read this question but it seems to predate the announcement of the implementation
sprocs
) in SQL Server affect the future implementation of "stored procedures" in PostgreSQL?