Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

what is the equivalent of the Oracle SQL in out in redshift sql? I'm trying to translate some Oracle sql to amazon's redshift sql and it seems like in out is a custom function only available in Oracle, what is the equivalent of this in redshift, I couldn't find anything in the documentation.

ex:

(test in out go.go_report.line, param date, as_of varchar2, company varchar2)

returns an error in out


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
533 views
Welcome To Ask or Share your Answers For Others

1 Answer

Redshift supports INOUT parameter and it is clearly mentioned in the documentation here as

The argument mode can be IN, OUT, or INOUT. The default is IN.

In more description:

INOUT arguments are input and output arguments at the same time. Input arguments include both IN and INOUT arguments, and output arguments include both OUT and INOUT arguments.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...