Program.ExecuteSQL_QueryVerbatim Method (string, DBParm[])

Executes a SQL query specifying the SQL statement (exactly as stated in the RPG code) and statement parameters.

Syntax

BegFunc ExecuteSQL_QueryVerbatim Access(*Public) Type(System.Collections.Generic.Dictionary)
   DclSrParm sqlText Type(*String)
   DclSrParm parameters Type (DBParm) Rank(1)      

Parameters

sqlText
String. The SQL statement with a substitution variable defined for each parameter.
parameters
DBParm. An array containing the query parameters.

Returns

System.Collections.Generic.Dictionary (string and object) representing the query results allowing values for a particular column to be accessed by name.

Requirements

Namespace: ASNA.Monarch
Assembly: ASNA.VisualRPG.Runtime.DLL
Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro