1. 程式人生 > 其它 >C# Sqlite資料型別

C# Sqlite資料型別

SQLite 資料型別C# 資料型別
BIGINT Int64
BIGUINT UInt64
BINARY Binary
BIT Boolean 首選
BLOB Binary 首選
BOOL Boolean
BOOLEAN Boolean
CHAR AnsiStringFixedLength 首選
CLOB String
COUNTER Int64
CURRENCY Decimal
DATE DateTime
DATETIME DateTime 首選
DECIMAL Decimal 首選
DOUBLE Double
FLOAT Double
GENERAL Binary
GUID Guid
IDENTITY Int64
IMAGE Binary
INT Int32 首選
INT8 SByte
INT16 Int16
INT32 Int32
INT64 Int64
INTEGER Int64 首選
INTEGER8 SByte
INTEGER16 Int16
INTEGER32 Int32
INTEGER64 Int64
LOGICAL Boolean
LONG Int64
LONGCHAR String
LONGTEXT String
LONGVARCHAR String
MEMO String
MONEY Decimal
NCHAR StringFixedLength 首選
NOTE String
NTEXT String
NUMBER Decimal
NUMERIC Decimal
NVARCHAR String 首選
OLEOBJECT Binary
RAW Binary
REAL Double 首選
SINGLE Single 首選
SMALLDATE DateTime
SMALLINT Int16 首選
SMALLUINT UInt16 首選
STRING String
TEXT String
TIME DateTime
TIMESTAMP DateTime
TINYINT Byte 首選
TINYSINT SByte 首選
UINT UInt32 首選
UINT8 Byte
UINT16 UInt16
UINT32 UInt32
UINT64 UInt64
ULONG UInt64
UNIQUEIDENTIFIER Guid 首選
UNSIGNEDINTEGER UInt64 首選
UNSIGNEDINTEGER8 Byte
UNSIGNEDINTEGER16 UInt16
UNSIGNEDINTEGER32 UInt32
UNSIGNEDINTEGER64 UInt64
VARBINARY Binary
VARCHAR AnsiString 首選
VARCHAR2 AnsiString
YESNO Boolean