Please tell me what are the differences between IN,OUT,IN OUT parameters in PL/SQL. And also how can i return more than one values using PL/SQL Procedure.
Please tell me what are the differences between IN,OUT,IN OUT parameters in PL/SQL. And
Share
What are IN/OUT/INOUT parameters?
These are parameters you define as part of the function argument list that get returned back as part of the result. When you create functions, the arguments are defaulted to IN parameters when not explicitly specified (which means they are passed in and not returned) which is why you sometimes see PgAdmin do something like IN somevariable variabletype when you use the function wizard.
You can have INOUT parameters as well which are function inputs that both get passed in, can be modified by the function and also get returned.
SQL OUTPUT parameters – return multiple records
MORE EXAMPLES