It's possible to execute SLQ CURSOR on Advanced Queries?

Hi guys,

Has anyone ever tried to use SLQ CURSOR on Advanced Queries? I'm trying to iterate a parameter (Fetch_Status), but I'm getting an error: "Database returned following error: Error in advanced query. Must declare the variable "@@qpinFetch_Status."


André Siébra

Hi Andre,

Are you able to use cursor in advance query? 

Hi All,

Encountered Same issue today and found a work around solution, instead of "@@Fetch_Status" use a expand inline parameter and replace that with "@@Fetch_Status "