Updated on 2023-04-14 GMT+08:00

RETURN Statements

In GaussDB(DWS), data can be returned in either of the following ways: RETURN, RETURN NEXT, or RETURN QUERY. RETURN NEXT and RETURN QUERY are used only for functions and cannot be used for stored procedures.