|
||
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.
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.
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 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.
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.
typedef TBufC<KDbMaxStrLen> TDbStringC;
Represents a generic read-only DBMS string. It maps to a non-modifiable buffer descriptor with maximum size KDbMaxStrLen.
TDbColType
Represents every supported column type.
|
TDbTextComparison
Represents different ways of comparing Text and LongText columns.
This affects the ordering of indexes (see CDbKey
CDbKey
), the evaluation of SQL queries and matching row constraints (see TDbQuery
TDbQuery
).
|
const TInt KDbMaxColName=KDbMaxName;
The maximum length for a DBMS column name: 64 characters.
const TInt KDbUndefinedCount=-1;
A value returned by RDbRowSet::Count() when the number of rows cannot be determined.
RDbRowSet
RDbRowSet
An abstract base class that provides functionality which is shared between SQL v...const TInt KDbDefaultTextColLength=50;
The default text column length. This is equal to 50.
const TInt KDbMaxStrLen=256;
The maximum length for a generic DBMS string, which might be transferred from DBMS server to the DBMS client using IPC.