d32dbms.h File Reference

#include <d32dbms.h>

KDbMaxName

const TIntKDbMaxName

The maximum length for a DBMS name: 64 characters.

KDbMaxColName

const TIntKDbMaxColName

The maximum length for a DBMS column name: 64 characters.

Typedef TDbName

typedef TBuf< KDbMaxName >TDbName

Represents a writable DBMS name. It maps to a modifiable buffer descriptor with maximum size KDbMaxName.

Notes:

A DBMS name must begin with an alphabetic character, after which any alphabetic, numeric or the _ (underscore) character may be used. DBMS names are also limited to 64 characters in length.

Table names must be unique within a database, and columns and indexes must have unique names within the table to which they belong. For the purposes of uniqueness and identification, the names are folded before comparison, so two columns named column_one and Column_ONE are considered to have the same name.

See also: TBuf

Typedef TDbNameC

typedef TBufC< KDbMaxName >TDbNameC

Represents a non-writeable DBMS name. It maps to a non modifiable buffer descriptor with maximum size KDbMaxName.

Notes:

A DBMS name must begin with an alphabetic character, after which any alphabetic, numeric or the _ (underscore) character may be used. DBMS names are also limited to 64 characters in length.

Table names must be unique within a database, and columns and indexes must have unique names within the table to which they belong. For the purposes of uniqueness and identification, the names are folded before comparison, so two columns named column_one and Column_ONE are considered to have the same name.

See also: TBufC

Typedef TDbColName

typedef TBuf< KDbMaxColName >TDbColName

Represents a writable DBMS column name. It maps to a modifiable buffer descriptor with maximum size KDbMaxColName.

Notes:

A DBMS name must begin with an alphabetic character, after which any alphabetic, numeric or the _ (underscore) character may be used. DBMS names are also limited to 64 characters in length.

Table names must be unique within a database, and columns and indexes must have unique names within the table to which they belong. For the purposes of uniqueness and identification, the names are folded before comparison, so two columns named column_one and Column_ONE are considered to have the same name.

Typedef TDbColNameC

typedef TBufC< KDbMaxColName >TDbColNameC

Represents a non-writable DBMS column name. It maps to a non-modifiable buffer descriptor with maximum size KDbMaxColName.

Notes:

A DBMS name must begin with an alphabetic character, after which any alphabetic, numeric or the _ (underscore) character may be used. DBMS names are also limited to 64 characters in length.

Table names must be unique within a database, and columns and indexes must have unique names within the table to which they belong. For the purposes of uniqueness and identification, the names are folded before comparison, so two columns named column_one and Column_ONE are considered to have the same name.

See also: TBufC

Typedef TDbColNo

typedef TInt TDbColNo

Specifies when DBMS objects require a column ordinal to identify a column in a column set or in a rowset.

Note that KDbNullColNo is a special value of TDbColNo used to indicate that no such column exists.

KDbNullColNo

const TDbColNoKDbNullColNo

Indicates that a specified column does not exist.

KDbUndefinedCount

const TIntKDbUndefinedCount

A value returned by RDbRowSet::Count() when the number of rows cannot be determined.

See also: RDbRowSet

KDbUndefinedLength

const TIntKDbUndefinedLength

The length of a column is undefined.

KDbDefaultTextColLength

const TIntKDbDefaultTextColLength

The default text column length. This is equal to 50.

KDbUnlimitedWindow

const TDbWindowKDbUnlimitedWindow

Typedef CDbTableNames

typedef CDbNames CDbTableNames

Typedef CDbIndexNames

typedef CDbNames CDbIndexNames

Typedef CDbDatabaseNames

typedef CDbNames CDbDatabaseNames

KDbMaxStrLen

const TIntKDbMaxStrLen

The maximum length for a generic DBMS string, which might be transferred from DBMS server to the DBMS client using IPC.

Typedef TDbStringC

typedef TBufC< KDbMaxStrLen >TDbStringC

Represents a generic read-only DBMS string. It maps to a non-modifiable buffer descriptor with maximum size KDbMaxStrLen.

See also: TBufC