15.10 - WITH RETURN - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K
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.