15.10 - WITH RETURN - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)
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.