const TInt | KDbMaxColName |
The maximum length for a DBMS column name: 64 characters.
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.
const TDbColNo | KDbNullColNo |
Indicates that a specified column does not exist.
const TInt | KDbUndefinedCount |
A value returned by RDbRowSet::Count() when the number of rows cannot be determined.
const TInt | KDbDefaultTextColLength |
The default text column length. This is equal to 50.
const TInt | KDbMaxStrLen |
The maximum length for a generic DBMS string, which might be transferred from DBMS server to the DBMS client using IPC.
typedef TBufC < KDbMaxStrLen > | TDbStringC |
Represents a generic read-only DBMS string. It maps to a non-modifiable buffer descriptor with maximum size KDbMaxStrLen.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.