SQL - Table Function

Data System Architecture

SQL - Table Function

About

PIPELINED functions (or table function) operate like a table and is a good workaround to Stored Procedures

They are useful if there is a need for a data source other than a table in a select statement.

Syntax

Without the table(…) wrapper

With the table wrapper:

Not implemented:

Example with table wrapper:

SELECT W FROM tablefunc(a,b)







Share this page:
Follow us:
Task Runner