Shows the SQL server types, the corresponding Sql types, and the GetSql*** methods used to read a column as the Sql type : SQL Data Type « Database ADO.net « C# / C Sharp

Home
C# / C Sharp
1.2D Graphics
2.Class Interface
3.Collections Data Structure
4.Components
5.Data Types
6.Database ADO.net
7.Design Patterns
8.Development Class
9.Event
10.File Stream
11.Generics
12.GUI Windows Form
13.Language Basics
14.LINQ
15.Network
16.Office
17.Reflection
18.Regular Expressions
19.Security
20.Services Event
21.Thread
22.Web Services
23.Windows
24.Windows Presentation Foundation
25.XML
26.XML LINQ
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source
C# / C Sharp » Database ADO.net » SQL Data TypeScreenshots 
Shows the SQL server types, the corresponding Sql types, and the GetSql*** methods used to read a column as the Sql type


Sql* TYPE            VALUES               
===============================================================================
Sql Binary           A variable-length string of binary data.

SqlBoolean           An integer with either a or value.

SqlByte              An 8-bit unsigned integer value between and 2^(255).

SqlDateTime          A date and time between 12:00:00 AM January 11753 and 11:59:59 PM December 319999. This is accurate to 3.33 milliseconds.

SqlDecimal           Fixed precision and scale numeric value between -1038 and 1038 1.

SqlDouble            A 64-bit floating-point number between -1.79769313486232E308 and 1.79769313486232E308 with 15 significant figures of precision.

SqlGuid              A 128-bit integer value (16 bytesthat that is unique across all computers and networks.

SqlInt16             A 16-bit signed integer between -2^15 (-32,768and 2^15 (32,767).

SqlInt32             A 32-bit signed integer between-2^31 (-2,147,483,648and 2^31 (2,147,483,647).

SqlInt64             A 64-bit signed integer between -2^63 (-9,223,372,036,854,775,808and 2^63 (9,223,372,036,854,775,807).

SqlMoney             A currency value between -922,337,203,685,477.5808 and 922,337,203,685,477.5807. This is accurate to 1/10,000th of a currency unit.

SqlSingle            A 32-bit floating-point number between -3.402823E38 and 3.402823E38 with seven significant figures of precision.

SqlString            A variable-length string of characters.
           
       
Related examples in the same category
1.SQL SERVER TYPES, COMPATIBLE Sql* TYPES, AND GetSql* METHODS
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.