Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
column_name.html

Index Summary Markup Original


R-07548-06087-12762-53515-32578-33672-61878-36013 tcl slt th3 src

These routines return the name assigned to a particular column in the result set of a SELECT statement.

/* IMP: R-07548-06087 */
# EVIDENCE-OF: R-07548-06087 These routines return the name assigned to
# a particular column in the result set of a SELECT statement.

R-17100-46000-36927-33778-08378-49986-19867-19918 tcl slt th3 src

The sqlite3_column_name() interface returns a pointer to a zero-terminated UTF-8 string and sqlite3_column_name16() returns a pointer to a zero-terminated UTF-16 string.

/* IMP: R-17100-46000 */
# EVIDENCE-OF: R-17100-46000 The sqlite3_column_name() interface returns
# a pointer to a zero-terminated UTF-8 string and
# sqlite3_column_name16() returns a pointer to a zero-terminated UTF-16
# string.

R-52669-16467-62181-15890-38253-37577-17953-50258 tcl slt th3 src

The first parameter is the prepared statement that implements the SELECT statement.

/* IMP: R-52669-16467 */
# EVIDENCE-OF: R-52669-16467 The first parameter is the prepared
# statement that implements the SELECT statement.

R-46397-11150-35825-03689-51879-43855-50852-63161 tcl slt th3 src

The second parameter is the column number.

/* IMP: R-46397-11150 */
# EVIDENCE-OF: R-46397-11150 The second parameter is the column number.

R-41499-47058-04189-19670-59283-14956-02456-13763 tcl slt th3 src

The leftmost column is number 0.

/* IMP: R-41499-47058 */
# EVIDENCE-OF: R-41499-47058 The leftmost column is number 0.

R-04966-20924-22801-44909-48927-53251-60616-56610 tcl slt th3 src

The returned string pointer is valid until either the prepared statement is destroyed by sqlite3_finalize() or until the statement is automatically reprepared by the first call to sqlite3_step() for a particular run or until the next call to sqlite3_column_name() or sqlite3_column_name16() on the same column.

/* IMP: R-04966-20924 */
# EVIDENCE-OF: R-04966-20924 The returned string pointer is valid until
# either the prepared statement is destroyed by sqlite3_finalize() or
# until the statement is automatically reprepared by the first call to
# sqlite3_step() for a particular run or until the next call to
# sqlite3_column_name() or sqlite3_column_name16() on the same column.

R-51001-58728-23268-57802-19223-01595-20066-01281 tcl slt th3 src

If sqlite3_malloc() fails during the processing of either routine (for example during a conversion from UTF-8 to UTF-16) then a NULL pointer is returned.

/* IMP: R-51001-58728 */
# EVIDENCE-OF: R-51001-58728 If sqlite3_malloc() fails during the
# processing of either routine (for example during a conversion from
# UTF-8 to UTF-16) then a NULL pointer is returned.

R-17768-43126-25682-30166-03658-34000-04918-35023 tcl slt th3 src

The name of a result column is the value of the "AS" clause for that column, if there is an AS clause.

/* IMP: R-17768-43126 */
# EVIDENCE-OF: R-17768-43126 The name of a result column is the value of
# the "AS" clause for that column, if there is an AS clause.