ExecuteSqlQueryToListXmlSvc Method

<< Click to Display Table of Contents >>

Navigation:  SshNetIbmi Class > SshNetIbmi Methods >

ExecuteSqlQueryToListXmlSvc Method

Summary

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

 

Column names can optionally be returned in first row of generic list.

 

Parameters

 

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

 

firstRowColumnNames - Optional - Return first row as column names. False=No column names, True=Return column names. Default=False

 

Returns

Generic List object with results of query or Nothing on error