clsDBprepareStatement Method

Inserts options (parameters) in an SQL string to prepare it for execution. Options are indicated by question marks (? for numeric and '?' for strings) in the raw sql.

Definition

Namespace: MbcsCentral
Assembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
C#
protected static string prepareStatement(
	string sql,
	string[] options
)

Parameters

sql  String
Raw SQL string with optional parameter inserts included
options  String
Values for insertion in the SQL string. NOTE: the order of passed parameters must match the order of insertion point in the SQL string.

Return Value

String
Prepared SQL string

See Also