Click or drag to resize
Galactic API

MSSqlUtility.ExecuteQuery Method

Executes the TSQL query provided.

Namespace:  Galactic.Sql.MSSql
Assembly:  Galactic.Sql.MSSql (in Galactic.Sql.MSSql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public override List<SqlRow> ExecuteQuery(
	string query,
	string connectionString,
	EventLog log
)

Parameters

query
Type: System.String
The TSQL query text to execute.
connectionString
Type: System.String
The connection string of the database to execute the script against.
log
Type: Galactic.EventLog.EventLog
The event log to log execptions to. May be null for no logging.

Return Value

Type: List<SqlRow>
A list of rows of data returned from the query.
See Also