nanodbc
A small C++ wrapper for the native C ODBC API
Loading...
Searching...
No Matches
nanodbc::catalog::procedure_columns Class Reference

Result set for a list of procedures in the data source. More...

#include <nanodbc.h>

Public Member Functions

bool next ()
 Move to the next result in the result set.
 
string procedure_catalog () const
 Fetch procedure catalog.
 
string procedure_schema () const
 Fetch procedure schema.
 
string procedure_name () const
 Fetch procedure name.
 
string column_name () const
 Fetch column name.
 
short column_type () const
 Fetch column type.
 
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.
 

Detailed Description

Result set for a list of procedures in the data source.

Member Function Documentation

◆ ordinal_position()

long nanodbc::catalog::procedure_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.

◆ is_nullable()

string nanodbc::catalog::procedure_columns::is_nullable ( ) const

Fetch column is-nullable information.

Note
MSDN: This column returns a zero-length string if nullability is unknown. ISO rules are followed to determine nullability. An ISO SQL-compliant DBMS cannot return an empty string.

The documentation for this class was generated from the following file: