ExecuteSqlQueryToDataTableXmlSvc Method

<< Click to Display Table of Contents >>

Navigation:  SshNetIbmi Class > SshNetIbmi Methods >

ExecuteSqlQueryToDataTableXmlSvc Method

Summary

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

 

This method is great for quickly populating a DataTable which is very similar to an IBM i subfile.

 

Parameters

 

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

 

Returns

System.Data.DataTable in memory table with results of query or null on errors