Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
odbc::Types Struct Reference

#include <RDBC/blob/master/include/RDBC/odbc++/types.h>

Public Types

enum  SQLType {
  BIGINT = SQL_BIGINT, BINARY = SQL_BINARY, BIT = SQL_BIT, CHAR = SQL_CHAR,
  DATE = ODBC3_C(SQL_TYPE_DATE,SQL_DATE), DECIMAL = SQL_DECIMAL, DOUBLE = SQL_DOUBLE, FLOAT = SQL_FLOAT,
  INTEGER = SQL_INTEGER, LONGVARBINARY = SQL_LONGVARBINARY, LONGVARCHAR = SQL_LONGVARCHAR, NUMERIC = SQL_NUMERIC,
  REAL = SQL_REAL, SMALLINT = SQL_SMALLINT, TIME = ODBC3_C(SQL_TYPE_TIME,SQL_TIME), TIMESTAMP = ODBC3_C(SQL_TYPE_TIMESTAMP,SQL_TIMESTAMP),
  TINYINT = SQL_TINYINT, VARBINARY = SQL_VARBINARY, VARCHAR = SQL_VARCHAR
}
 

Detailed Description

SQL type constants

Definition at line 153 of file types.h.

View newest version in sPHENIX GitHub at line 153 of file types.h

Member Enumeration Documentation

Type constants

Enumerator:
BIGINT 

An SQL BIGINT

BINARY 

An SQL BINARY (fixed length)

BIT 

An SQL BIT

CHAR 

An SQL CHAR (fixed length)

DATE 

An SQL DATE

DECIMAL 

An SQL DECIMAL (precision,scale)

DOUBLE 

An SQL DOUBLE

FLOAT 

An SQL FLOAT

INTEGER 

An SQL INTEGER

LONGVARBINARY 

An SQL LONGVARBINARY (variable length, huge)

LONGVARCHAR 

An SQL LONGVARCHAR (variable length, huge)

NUMERIC 

An SQL NUMERIC (precision,scale)

REAL 

An SQL REAL

SMALLINT 

An SQL SMALLINT

TIME 

An SQL TIME

TIMESTAMP 

An SQL TIMESTAMP

TINYINT 

An SQL TINYINT

VARBINARY 

An SQL VARBINARY (variable length less than 256)

VARCHAR 

An SQL VARCHAR (variable length less than 256)

Definition at line 156 of file types.h.

View newest version in sPHENIX GitHub at line 156 of file types.h


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