ExecuteSqlQueryToXmlStringXmlSvc Method

<< Click to Display Table of Contents >>

Navigation:  SshNetIbmi Class > SshNetIbmi Methods >

ExecuteSqlQueryToXmlStringXmlSvc Method

Summary

This function queries the IBM i DB2 database with selected SQL statement and returns results to XML result string all in one step.

 

Parameters

 

sSQL - SQL Select. INSERT, UPDATE and DELETE not allowed.

 

sXMLOutputFile - Output XML result file

 

sTableName - DataTable name to use.  Default="Table1"

 

bWriteSchema - Write XML schema in return data. Default=False

 

Returns

XML result string