This call creates a new statement belonging to the specified session. The Sql Handle parameter specified here is the same as what the current SqlConnect call returns. There can be any number of statements within a session; there is no limit on this number. This call returns a statement handle if the call was successful. To free a statement, the existing SqlDisconnect call needs to be used.

Namespace: PPJ.Runtime.Sql
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public bool CreateStatement(
	ref SalSqlHandle hSql
)

Parameters

hSql
Type: PPJ.Runtime.Sql..::..SalSqlHandle%
The Sql handle used to associate any number of statements to a session.

Return Value

bool

See Also