Data Type : bigint
Range : -2^63 (-9,223,372,036,854,775,808) to 2^63-1 (9,223,372,036,854,775,807)
Storage : 8 Bytes
Data Type : int
Range : -2^31 (-2,147,483,648) to 2^31-1 (2,147,483,647)
Storage : 4 Bytes
Data Type : smallint
Range : -2^15 (-32,768) to 2^15-1 (32,767)
Storage : 2 Bytes
Data Type : tinyint
Range : 0 to 255
Storage : 1 Byte
Data Type : bit
Range : 0 to 1
Storage : 1 Byte
Data Type : decimal
Range : -10^38+1 to 10^381-1
Storage : 5 to 17 Bytes
Data Type : numeric
Range : -10^38+1 to 10^381-1
Storage : 5 to 17 Bytes
Data Type : money
Range : -922,337,203,685,477.5508 to 922,337,203,685,477.5807
Storage : 8 Bytes
Data Type : smallmoney
Range : -214,478.3648 to 214,478.3647
Storage : 4 Bytes
Data Type : real
Range : -3.40E+38 to 3.40E+38
Storage : 4 Bytes
Data Type : float
Range : 1.79E+308 to 1.79E+308
Storage : It depends on the value(n)
Data Type : char
Range : 0 chars to 8000 chars
Storage : n bytes
Data Type : varchar
Range : 0 chars to 8000 chars
Storage : n bytes + 2 bytes
Data Type : varchar(max)
Range : 0 chars to 2^31 chars
Storage : n bytes + 2 bytes
Data Type : text
Range : 0 chars to 2,147,483,647 chars
Storage : n bytes + 4 bytes
Data Type : nchar
Range : 0 chars to 4000 chars
Storage : 2 times n bytes
Data Type : nvarchar
Range : 0 chars to 4000 chars
Storage : 2 times n bytes + 2 bytes
Data Type : ntext
Range : 0 chars to 1,073,741,823 chars
Storage : 2 times the string length
Data Type : datetime
Range : 1753-01-01 to 9999-12-31
Storage : 8 bytes
Data Type : smalldatetime
Range : 1900-01-01 to 2079-06-06
Storage : 4 Bytes, Fixed
Data Type : date
Range : 0001-01-01 to 9999-12-31
Storage : 3 Bytes, Fixed
Data Type : time
Range : 00:00:00.0000000 to 23:59:59.9999999
Storage : 5 Bytes
Data Type : datetimeoffset
Range : 0001-01-01 to 9999-12-31
Storage : 10 Bytes
Data Type : datetime2
Range : 0001-01-01 to 9999-12-31
Storage : 6 Bytes
Data Type : binary
Range : 0 Bytes to 8000 Bytes
Storage : n Bytes
Data Type : varbinary
Range : 0 Bytes to 8000 Bytes
Storage : The actual length of string + 2 Bytes
Data Type : image
Range : 0 Bytes to 2,147,483,647 Bytes
- - - - - - Cheers, Happy to Help! - - - - - -
Range : -2^63 (-9,223,372,036,854,775,808) to 2^63-1 (9,223,372,036,854,775,807)
Storage : 8 Bytes
Data Type : int
Range : -2^31 (-2,147,483,648) to 2^31-1 (2,147,483,647)
Storage : 4 Bytes
Data Type : smallint
Range : -2^15 (-32,768) to 2^15-1 (32,767)
Storage : 2 Bytes
Data Type : tinyint
Range : 0 to 255
Storage : 1 Byte
Data Type : bit
Range : 0 to 1
Storage : 1 Byte
Data Type : decimal
Range : -10^38+1 to 10^381-1
Storage : 5 to 17 Bytes
Data Type : numeric
Range : -10^38+1 to 10^381-1
Storage : 5 to 17 Bytes
Data Type : money
Range : -922,337,203,685,477.5508 to 922,337,203,685,477.5807
Storage : 8 Bytes
Data Type : smallmoney
Range : -214,478.3648 to 214,478.3647
Storage : 4 Bytes
Data Type : real
Range : -3.40E+38 to 3.40E+38
Storage : 4 Bytes
Data Type : float
Range : 1.79E+308 to 1.79E+308
Storage : It depends on the value(n)
Data Type : char
Range : 0 chars to 8000 chars
Storage : n bytes
Data Type : varchar
Range : 0 chars to 8000 chars
Storage : n bytes + 2 bytes
Data Type : varchar(max)
Range : 0 chars to 2^31 chars
Storage : n bytes + 2 bytes
Data Type : text
Range : 0 chars to 2,147,483,647 chars
Storage : n bytes + 4 bytes
Data Type : nchar
Range : 0 chars to 4000 chars
Storage : 2 times n bytes
Data Type : nvarchar
Range : 0 chars to 4000 chars
Storage : 2 times n bytes + 2 bytes
Data Type : ntext
Range : 0 chars to 1,073,741,823 chars
Storage : 2 times the string length
Data Type : datetime
Range : 1753-01-01 to 9999-12-31
Storage : 8 bytes
Data Type : smalldatetime
Range : 1900-01-01 to 2079-06-06
Storage : 4 Bytes, Fixed
Data Type : date
Range : 0001-01-01 to 9999-12-31
Storage : 3 Bytes, Fixed
Data Type : time
Range : 00:00:00.0000000 to 23:59:59.9999999
Storage : 5 Bytes
Data Type : datetimeoffset
Range : 0001-01-01 to 9999-12-31
Storage : 10 Bytes
Data Type : datetime2
Range : 0001-01-01 to 9999-12-31
Storage : 6 Bytes
Data Type : binary
Range : 0 Bytes to 8000 Bytes
Storage : n Bytes
Data Type : varbinary
Range : 0 Bytes to 8000 Bytes
Storage : The actual length of string + 2 Bytes
Data Type : image
Range : 0 Bytes to 2,147,483,647 Bytes
- - - - - - Cheers, Happy to Help! - - - - - -
No comments:
Post a Comment