BCSVault ExecSQL Method Meridian Enterprise 2013 Developer's Guide | BlueCielo ECM Solutions
Executes an SQL query against the specified connection.

Namespace: BlueCieloECM.InnoCielo.Meridian.Scripting
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.53.0)
Syntax

public Array ExecSQL(
	string connectionString,
	string query,
	IEnumerable<Object> parameters
)

Parameters

connectionString
Type: OnlineSystem String
The connection string that includes the source database name, and other parameters needed to establish the initial connection.
query
Type: OnlineSystem String
The SQL query to execute.
parameters
Type: OnlineSystem.Collections.Generic IEnumerable OnlineObject 
The collection of parameters for the query (in the same order they appear in the SQL expression).

Return Value

A 2D array of values ([column, row]) that represents the SQL result. If no result, an empty array.
See Also