SAP Knowledge Base Article - Preview

2945514 - xmlextract function does not return result set or any error - SAP ASE

Symptom

The following process doesn't return the result set or an error but we can see that issue could be related to function "xmlextract" since we can obtain the datalenght of variable "@xml":

1> declare @xml text
2> declare @tbl01 text
3> select @xml = t from txml
4> select datalength(@xml)
5> select xmlextract('/xml/sample', @xml returns text)
6> go
(1 row affected)

 -----------
     3026153

(1 row affected)
                                                                                                                                                                                              --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.0
  • SAP Adaptive Server Enterprise (ASE) 15.7

Product

SAP Adaptive Server Enterprise 16.0

Keywords

xml, xmlextract, result, set, parameter, heap, memory, per, user, CR 822141, CR822141 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.