16.20 - WITH RETURN - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24
WITH RETURN ONLY
A result set cursor that is returned by the procedure, but that cursor cannot be fetched.
TO CALLER
The result set from the target procedure is to be returned to either of the following:
  • the calling procedure.
  • the calling client application.
This is the default.
TO CLIENT
The result set is to be returned to the client application even if called from a nested procedure.
If more than one SQL procedure specifies TO CLIENT, then the Teradata platform returns the results in the order opened.