【转载】.NET Framework Class LibrarySqlDbType Enumeration
2010-02-22 10:01 Virus-BeautyCode 阅读(267) 评论(0) 编辑 收藏 举报原文地址:.NET Framework Class LibrarySqlDbType Enumeration
Member name | Description | |
---|---|---|
![]() ![]() |
BigInt | Int64. A 64-bit signed integer. |
![]() ![]() |
Binary | Array of type Byte. A fixed-length stream of binary data ranging between 1 and 8,000 bytes. |
![]() ![]() |
Bit | Boolean. An unsigned numeric value that can be 0, 1, or nullNothingnullptra null reference (Nothing in Visual Basic). |
![]() ![]() |
Char | String. A fixed-length stream of non-Unicode characters ranging between 1 and 8,000 characters. |
![]() ![]() |
DateTime | DateTime. Date and time data ranging in value from January 1, 1753 to December 31, 9999 to an accuracy of 3.33 milliseconds. |
![]() ![]() |
Decimal | Decimal. A fixed precision and scale numeric value between -10 38 -1 and 10 38 -1. |
![]() ![]() |
Float | Double. A floating point number within the range of -1.79E +308 through 1.79E +308. |
![]() ![]() |
Image | Array of type Byte. A variable-length stream of binary data ranging from 0 to 2 31 -1 (or 2,147,483,647) bytes. |
![]() ![]() |
Int | Int32. A 32-bit signed integer. |
![]() ![]() |
Money | Decimal. A currency value ranging from -2 63 (or -9,223,372,036,854,775,808) to 2 63 -1 (or +9,223,372,036,854,775,807) with an accuracy to a ten-thousandth of a currency unit. |
![]() ![]() |
NChar | String. A fixed-length stream of Unicode characters ranging between 1 and 4,000 characters. |
![]() ![]() |
NText | String. A variable-length stream of Unicode data with a maximum length of 2 30 - 1 (or 1,073,741,823) characters. |
![]() ![]() |
NVarChar | String. A variable-length stream of Unicode characters ranging between 1 and 4,000 characters. Implicit conversion fails if the string is greater than 4,000 characters. Explicitly set the object when working with strings longer than 4,000 characters. |
![]() ![]() |
Real | Single. A floating point number within the range of -3.40E +38 through 3.40E +38. |
![]() ![]() |
UniqueIdentifier | Guid. A globally unique identifier (or GUID). |
![]() ![]() |
SmallDateTime | DateTime. Date and time data ranging in value from January 1, 1900 to June 6, 2079 to an accuracy of one minute. |
![]() ![]() |
SmallInt | Int16. A 16-bit signed integer. |
![]() ![]() |
SmallMoney | Decimal. A currency value ranging from -214,748.3648 to +214,748.3647 with an accuracy to a ten-thousandth of a currency unit. |
![]() ![]() |
Text | String. A variable-length stream of non-Unicode data with a maximum length of 2 31 -1 (or 2,147,483,647) characters. |
![]() ![]() |
Timestamp | Array of type Byte. Automatically generated binary numbers, which are guaranteed to be unique within a database. timestamp is used typically as a mechanism for version-stamping table rows. The storage size is 8 bytes. |
![]() ![]() |
TinyInt | Byte. An 8-bit unsigned integer. |
![]() ![]() |
VarBinary | Array of type Byte. A variable-length stream of binary data ranging between 1 and 8,000 bytes. Implicit conversion fails if the byte array is greater than 8,000 bytes. Explicitly set the object when working with byte arrays larger than 8,000 bytes. |
![]() ![]() |
VarChar | String. A variable-length stream of non-Unicode characters ranging between 1 and 8,000 characters. |
![]() ![]() |
Variant | Object. A special data type that can contain numeric, string, binary, or date data as well as the SQL Server values Empty and Null, which is assumed if no other type is declared. |
![]() ![]() |
Xml | An XML value. Obtain the XML as a string using the GetValue method or Value property, or as an XmlReader by calling the CreateReader method. |
![]() ![]() |
Udt | A SQL Server 2005 user-defined type (UDT). |
![]() ![]() |
Structured | A special data type for specifying structured data contained in table-valued parameters. |
![]() ![]() |
Date | Date data ranging in value from January 1,1 AD through December 31, 9999 AD. |
![]() ![]() |
Time | Time data based on a 24-hour clock. Time value range is 00:00:00 through 23:59:59.9999999 with an accuracy of 100 nanoseconds. Corresponds to a SQL Server time value. |
![]() ![]() |
DateTime2 | Date and time data. Date value range is from January 1,1 AD through December 31, 9999 AD. Time value range is 00:00:00 through 23:59:59.9999999 with an accuracy of 100 nanoseconds. |
![]() ![]() |
DateTimeOffset | Date and time data with time zone awareness. Date value range is from January 1,1 AD through December 31, 9999 AD. Time value range is 00:00:00 through 23:59:59.9999999 with an accuracy of 100 nanoseconds. Time zone value range is -14:00 through +14:00. |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构