d32dbms.h File Reference

const TInt KDbMaxName

const TIntKDbMaxName

The maximum length for a DBMS name: 64 characters.

const TInt 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.

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.

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.

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.

const TDbColNo KDbNullColNo

const TDbColNoKDbNullColNo

Indicates that a specified column does not exist.

const TInt KDbUndefinedCount

const TIntKDbUndefinedCount

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

RDbRowSet

const TInt KDbUndefinedLength

const TIntKDbUndefinedLength

The length of a column is undefined.

const TInt KDbDefaultTextColLength

const TIntKDbDefaultTextColLength

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

const TDbWindow KDbUnlimitedWindow

const TDbWindowKDbUnlimitedWindow

Typedef CDbDatabaseNames

typedef CDbNames CDbDatabaseNames

const TInt 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.

TBufC