17.00 - Example: Table Operator Function Written in SAS - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
mdr1472255012272

This table operator function is written in SAS, which uses the SQLTABLE parameter style.

     CREATE FUNCTION sas_transform (
     RETURNS TABLE VARYING USING FUNCTION
     LANGUAGE SAS
     PARAMETER STYLE SQLTABLE
     DETERMINISTIC
     RETURN 'optional SAS code text'
     EXTERNAL NAME 'sas_transform_udf:sas_transform_UDF.GetSASCodeText';