Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1818

XMLQuery/XMLTable prepared context type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.6
    • 7.1
    • Query Engine
    • None
    • Hide

      Use an explicit cast/convert, xmlparse, etc.: select xmlquery('/a' passing cast(? as xml))

      Show
      Use an explicit cast/convert, xmlparse, etc.: select xmlquery('/a' passing cast(? as xml))

      A query such as "select xmlquery('/a' passing ?)" will not resolve since no type is associated with the parameter. The context item at least should be known to be xml. Other passing clause values are currently allowed to multiple types and would require a cast/convert.

              rhn-engineering-shawkins Steven Hawkins
              rhn-engineering-shawkins Steven Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: