Products Support Documentation Download
ODBC Descriptor Functions
Collaboration diagram for ODBC Descriptor Functions:

Functions

SQLRETURN SQLCopyDesc (SQLHDESC SourceDescHandle, SQLHDESC TargetDescHandle)
 Copy one descriptor to another. More...
 
SQLRETURN SQLGetDescField (SQLHDESC DescriptorHandle, SQLSMALLINT RecNumber, SQLSMALLINT FieldIdentifier, SQLPOINTER Value, SQLINTEGER BufferLength, SQLINTEGER *StringLength)
 Obtain the information about a single descriptor header/record field. More...
 
SQLRETURN SQLGetDescRec (SQLHDESC DescriptorHandle, SQLSMALLINT RecNumber, SQLCHAR *Name, SQLSMALLINT BufferLength, SQLSMALLINT *StringLengthPtr, SQLSMALLINT *TypePtr, SQLSMALLINT *SubTypePtr, SQLINTEGER *LengthPtr, SQLSMALLINT *PrecisionPtr, SQLSMALLINT *ScalePtr, SQLSMALLINT *NullablePtr)
 Obtain the information about multiple descriptor header/record fields. More...
 
SQLRETURN SQLSetDescField (SQLHDESC DescriptorHandle, SQLSMALLINT RecNumber, SQLSMALLINT FieldIdentifier, SQLPOINTER Value, SQLINTEGER BufferLength)
 Set the value of a single descriptor record field. More...
 
SQLRETURN SQLSetDescRec (SQLHDESC DescriptorHandle, SQLSMALLINT RecNumber, SQLSMALLINT Type, SQLSMALLINT SubType, SQLINTEGER Length, SQLSMALLINT Precision, SQLSMALLINT Scale, SQLPOINTER Data, SQLINTEGER *StringLength, SQLINTEGER *Indicator)
 Set the value of multiple descriptor record fields. More...
 

Detailed Description

Function Documentation

◆ SQLCopyDesc()

SQLRETURN SQLCopyDesc ( SQLHDESC  SourceDescHandle,
SQLHDESC  TargetDescHandle 
)

#include <sql.h>

Copy one descriptor to another.

See http://msdn.microsoft.com/en-us/library/ms715378(v=vs.85).aspx

◆ SQLGetDescField()

SQLRETURN SQLGetDescField ( SQLHDESC  DescriptorHandle,
SQLSMALLINT  RecNumber,
SQLSMALLINT  FieldIdentifier,
SQLPOINTER  Value,
SQLINTEGER  BufferLength,
SQLINTEGER StringLength 
)

#include <sql.h>

Obtain the information about a single descriptor header/record field.

See http://msdn.microsoft.com/en-us/library/ms716370(v=vs.85).aspx

See also
SQLGetDescRec
SQLSetDescField

◆ SQLGetDescRec()

SQLRETURN SQLGetDescRec ( SQLHDESC  DescriptorHandle,
SQLSMALLINT  RecNumber,
SQLCHAR Name,
SQLSMALLINT  BufferLength,
SQLSMALLINT StringLengthPtr,
SQLSMALLINT TypePtr,
SQLSMALLINT SubTypePtr,
SQLINTEGER LengthPtr,
SQLSMALLINT PrecisionPtr,
SQLSMALLINT ScalePtr,
SQLSMALLINT NullablePtr 
)

#include <sql.h>

Obtain the information about multiple descriptor header/record fields.

See http://msdn.microsoft.com/en-us/library/ms710921(v=vs.85).aspx

See also
SQLGetDescField
SQLSetDescRec

◆ SQLSetDescField()

SQLRETURN SQLSetDescField ( SQLHDESC  DescriptorHandle,
SQLSMALLINT  RecNumber,
SQLSMALLINT  FieldIdentifier,
SQLPOINTER  Value,
SQLINTEGER  BufferLength 
)

#include <sql.h>

Set the value of a single descriptor record field.

See http://msdn.microsoft.com/en-us/library/ms713560(v=vs.85).aspx

See also
SQLSetDescRec
SQLGetDescField

◆ SQLSetDescRec()

SQLRETURN SQLSetDescRec ( SQLHDESC  DescriptorHandle,
SQLSMALLINT  RecNumber,
SQLSMALLINT  Type,
SQLSMALLINT  SubType,
SQLINTEGER  Length,
SQLSMALLINT  Precision,
SQLSMALLINT  Scale,
SQLPOINTER  Data,
SQLINTEGER StringLength,
SQLINTEGER Indicator 
)

#include <sql.h>

Set the value of multiple descriptor record fields.

See http://msdn.microsoft.com/en-us/library/ms714675(v=vs.85).aspx

See also
SQLSetDescField
SQLGetDescRec