[
https://jira.jboss.org/browse/TEIID-1237?page=com.atlassian.jira.plugin.s...
]
Steven Hawkins resolved TEIID-1237.
-----------------------------------
Resolution: Done
assignment syntax has now been cleaned up. procedure return/out/inout values can now be
accessed from a command statement in a procedure. however to access out parameters
requires the use of named parameters - our old resolving logic ignored positional out
parameters, so it would be a breaking change to now require them.
These values are only available from a command statement. It would be straight-forward to
extend support to loop statements. To increase usability all around though, we should
probably add explicit cursor syntax.
Stored procedures should allow for better use of inout/out/return
values
------------------------------------------------------------------------
Key: TEIID-1237
URL:
https://jira.jboss.org/browse/TEIID-1237
Project: Teiid
Issue Type: Feature Request
Components: Query Engine
Affects Versions: 7.1
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 7.2
Teiid stored procedure command or assignment statements do not typically make use of
inout/out/return values (the exception is if a resultset is not returned). It would be
better to allow variables to be used in inout/out positions to capture the out values.
e.g. instead of
call proc(1)
just implicitly creating the result set to return,
a = call proc(1, b)
would also assign the return value to a and would set an out value to b.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira