Difference between revisions of "FINDCURSOR()"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Helengeorge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Returns the workarea number corresponding to the specified gateway cursor | Returns the workarea number corresponding to the specified gateway cursor | ||
Line 37: | Line 35: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 17:36, 27 November 2009
Purpose
Returns the workarea number corresponding to the specified gateway cursor
Syntax
FINDCURSOR(<expC>)
See Also
CLOSE, CURSORNAME(), DECLARE CURSOR, DROP CURSOR, FETCH, GATEWAY(), OPEN
Description
The FINDCURSOR() function returns a workarea number corresponding to the open gateway cursor specified by <expC>.
If the cursor name specified is not open, or no gateway is active, then a value of -1 is returned.
Example
select 3 set gateway to "ora@sales:scott/tiger" exec sql declare employees cursor for select empno, ename, job from emp order by deptno; exec sql open employees; ? findcursor(cursorname()) 3
Products
Recital Server, Recital