|
nanodbc
A small C++ wrapper for the native C ODBC API
|
Result set for a list of columns in one or more tables. More...
#include <nanodbc.h>
Public Member Functions | |
| bool | next () |
| Move to the next result in the result set. | |
| string | table_catalog () const |
| Fetch table catalog. | |
| string | table_schema () const |
| Fetch table schema. | |
| string | table_name () const |
| Fetch table name. | |
| string | column_name () const |
| Fetch column name. | |
| short | data_type () const |
| Fetch column data type. | |
| string | type_name () const |
| Fetch column type name. | |
| long | column_size () const |
| Fetch column size. | |
| long | buffer_length () const |
| Fetch buffer length. | |
| short | decimal_digits () const |
| Fetch decimal digits. | |
| short | numeric_precision_radix () const |
| Fetch numeric precission. | |
| short | nullable () const |
| True iff column is nullable. | |
| string | remarks () const |
| Fetch column remarks. | |
| string | column_default () const |
| Fetch column's default. | |
| short | sql_data_type () const |
| Fetch column's SQL data type. | |
| short | sql_datetime_subtype () const |
| Fetch datetime subtype of column. | |
| long | char_octet_length () const |
| Fetch char octet length. | |
| long | ordinal_position () const |
| Ordinal position of the column in the table. | |
| string | is_nullable () const |
| Fetch column is-nullable information. | |
Result set for a list of columns in one or more tables.
| long nanodbc::catalog::columns::ordinal_position | ( | ) | const |
Ordinal position of the column in the table.
The first column in the table is number 1. Returns ORDINAL_POSITION column value in result set returned by SQLColumns.
| string nanodbc::catalog::columns::is_nullable | ( | ) | const |
Fetch column is-nullable information.