SqlDataType Enum

Definition

The SqlDataType specifies the type of the DataType object.

public enum SqlDataType
type SqlDataType = 
Public Enum SqlDataType
Inheritance
SqlDataType

Fields

BigInt 1
Binary 2
Bit 3
Char 4
Date 36
DateTime 6
DateTime2 39
DateTimeOffset 38
Decimal 7
Float 8
Geography 43
Geometry 42
HierarchyId 41
Image 9
Int 10
Money 11
NChar 12
None 0
NText 13
Numeric 35
NVarChar 14
NVarCharMax 15
Real 16
SmallDateTime 17
SmallInt 18
SmallMoney 19
SysName 34
Text 20
Time 37
Timestamp 21
TinyInt 22
UniqueIdentifier 23
UserDefinedDataType 24
UserDefinedTableType 40
UserDefinedType 25
VarBinary 28
VarBinaryMax 29
VarChar 30
VarCharMax 31
Variant 32
Xml 33

Applies to