SAP Knowledge Base Article - Preview

2519727 - How to use OpenXML funtion and return the valueField values from the XML file?

Symptom

  • The SQL statement below does not return any row:

select valueField from openXML ( xp_read_file( 'C:\SQLAny\Equipment.xml' ),
    '/EquipmentType/descriptionField/DescriptionType' )
    with ( valueField VARCHAR(80) 'valueField',
           languageIDField varchar(20) './@languageIDField'
    );


Read more...

Environment

  • SAP SQL Anywhere 17
  • SAP SQL Anywhere 16
  • SAP SQL Anywhere 12

Product

SAP SQL Anywhere 16.0 ; SAP SQL Anywhere 17.0 ; SAP Sybase SQL Anywhere 12.0

Keywords

syntax, Sybase , KBA , BC-SYB-SQA-SRV , SQL Anywhere - Server , How To

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.