sqlallocstmt (odbc32)
Last changed: -201.0.182.247

.
Summary
SQLAllocStmt allocates memory for a statement handle and associates the statement handle with the connection specified by hdbc.

An application must call SQLAllocStmt prior to submitting SQL statements.

C# Signature:

[DllImport("odbc32.dll")]
static extern short SQLAllocStmt(IntPtr ConnectionHandle, out IntPtr StatementHandle);

VB Signature:

<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _
    Private Shared Function SQLAllocStmt(ByVal connectionHandle As IntPtr, <Runtime.InteropServices.Out()> _
    ByRef statementHandle As IntPtr) As Short
    End Function

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation