getStatement()

This method is used with a CURSOR variable. It returns the text of the SELECT or INSERT statement for which the cursor was declared:

variable.GetStatement()

It can be used only if the CURSOR variable has been initialized using the declare() method first.

This method accepts no parameters and returns one value which is the text of the SQL statement associated with the cursor assigned to the specified CURSOR variable:

CALL cur_v.GetStatement() RETURNING sql_stmt

 

Contact Us

Privacy Policy

Copyright © 2025 Querix, (UK) Ltd.