SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Provides a mechanism for making direct calls to the Microsoft SQL Server API, and some methods for setting access module-specific properties. More...
#include <rw/db/msqsrc/msqsysh.h>
Public Member Functions | |
SQLUINTEGER | cursorType () const |
RWDBStatus | cursorType (SQLUINTEGER value) |
SQLHDBC | hdbc () const |
bool | logTextUpdates () const |
RWDBStatus | logTextUpdates (bool value) |
SQLULEN | textSize () const |
RWDBStatus | textSize (SQLULEN size) |
Class RWDBMsSqlLibSystemHandle provides methods for setting and retrieving options that affect performance. It also contains the SQLHDBC
used by the RWDBConnection.
If it is necessary for your application to make calls directly to the Microsoft SQL Server driver API, proceed as in the following example.
|
inline |
Returns the type of cursor in use. The default value is SQL_CURSOR_KEYSET_DRIVEN
.
|
inline |
Sets the cursor type to value. The cursor types that can be set are SQL_CURSOR_KEYSET_DRIVEN
, SQL_CURSOR_STATIC
, SQL_CURSOR_FORWARD_ONLY
, and SQL_CURSOR_DYNAMIC
.
SQLHDBC RWDBMsSqlLibSystemHandle::hdbc | ( | ) | const |
Returns the SQLHDBC
encapsulated by the respective RWDBConnection.
|
inline |
Returns true
if the client library is to log updates to text
, ntext
, and image
columns. This behavior is enabled by default.
|
inline |
Changes the behavior for logging updates to text
, ntext
, and image
columns. A value of false
disables logging updates.
|
inline |
Returns the maximum length, in bytes, of text that a SELECT
statement can return for text
, ntext
, and image
data. The default is 2,147,483,647 for the Microsoft SQL Server ODBC driver, but may vary for other drivers.
|
inline |
Sets the maximum length, in bytes, of text that a SELECT
statement can return for text
, ntext
and image
data, and returns an RWDBStatus indicating whether the operation succeeded.
Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.