SqlDataType enumeration

SqlDataType enumeration

Specifies SQL data type of the parameter. Only valid for ODBC sources.

The SqlDataType type exposes the following members:

Fields

FieldDescription
SQL_UNSIGNED_OFFSETsql unsigned offset
SQL_SIGNED_OFFSETsql signed offset
SQL_GUIDsql guid
SQL_W_LONG_VARCHARsql wide long variable char
SQL_W_VARCHARsql wide variable char
SQL_W_CHARsql wide char
SQL_BITsql bit
SQL_TINY_INTsql tiny int
SQL_BIG_INTsql big int
SQL_LONG_VAR_BINARYsql long variable binary
SQL_VAR_BINARYsql variable binary
SQL_BINARYsql binary
SQL_LONG_VAR_CHARsql long variable char
SQL_UNKNOWN_TYPEsql unknown type
SQL_CHARsql char
SQL_NUMERICsql numeric
SQL_DECIMALsql decimal
SQL_INTEGERsql integer
SQL_SMALL_INTsql small int
SQL_FLOATsql float
SQL_REALsql real
SQL_DOUBLEsql double
SQL_TYPE_DATEsql date type
SQL_TYPE_TIMEsql time type
SQL_TYPE_TIMESTAMPsql timestamp type
SQL_VAR_CHARsql variable char
SQL_INTERVAL_YEARsql interval year
SQL_INTERVAL_MONTHsql interval month
SQL_INTERVAL_DAYsql interval day
SQL_INTERVAL_HOURsql interval hour
SQL_INTERVAL_MINUTEsql interval minute
SQL_INTERVAL_SECONDsql interval second
SQL_INTERVAL_YEAR_TO_MONTHsql interval year to month
SQL_INTERVAL_DAY_TO_HOURsql interval day to hour
SQL_INTERVAL_DAY_TO_MINUTEsql interval day to minute
SQL_INTERVAL_DAY_TO_SECONDsql interval day to second
SQL_INTERVAL_HOUR_TO_MINUTEsql interval hour to minute
SQL_INTERVAL_HOUR_TO_SECONDsql interval hour to second
SQL_INTERVAL_MINUTE_TO_SECONDsql interval minute to second

See Also