Click or drag to resize

TDengineStmtPrepare Method

prepare a sql statement,'sql' should be a valid INSERT/SELECT statement.

Namespace:  TDengineDriver
Assembly:  TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax
C#
public static int StmtPrepare(
	IntPtr stmt,
	string sql
)

Parameters

stmt
Type: SystemIntPtr
could be the value returned by 'StmtInit', that may be a valid object or NULL.
sql
Type: SystemString
sql string,used to bind parameters with

Return Value

Type: Int32
0 for success, non-zero for failure.
See Also