Syntax 'FETCH "cursorname"' is not supported in JBoss DV

Solution Unverified - Updated -

Issue

  • command FETCH "cursorname" is not supported and throws error similar to:

    WARN  [org.teiid.PROCESSOR] (Worker0_QueryProcessorQueue7) TEIID30020 Processing exception for request dqsHzwIbW+ZD.7 'TEIID31100 Parsing error: Encountered "[*]FETCH[*] cursorname" at line 1, column 1.
    Was expecting: "alter" | "begin" | "call" | "create" | "delete" | "drop" | "exec" | "execute" | "insert" | "merge" ...'.
    

Environment

  • Red Hat JBoss Data Virtualization (DV) 6.2
  • ODBC

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.