Professional Documents
Culture Documents
Tipuri de Date MS SQL Server
Tipuri de Date MS SQL Server
Tip date tinyint smallint Integer int bigint decimal[p[,s]] Exact numeric numeric[p[,s]] Appropiate numeric float[(n)] real smallmoney Monetary money smalldatetime Date and time datetime char[(n)] varchar[(n)] varchar(max) Characters text nchar[(n)] nvarchar[(n)] 0-2 GB 0-8000 0-8000 non-Unicode, 16 bytes pointer or in row, obsolete, varchar(max) prefered max 4000 unicode characters max 4000 unicode characters 8 0-8000 0-8000 0-2 GB non-Unicode non-Unicode non-Unicode, 16 bytes pointer on row, preferred over text data type 8 4 5-17 8 4 4 4 8 5-17 1 2 Numar octeti Comentarii
nvarchar(max)
0-2 GB
16 bytes pointer or in row, ,preferred over ntext data type 16 bytes pointer, obsolete, nvarchar(max) preferred
16 bytes pointer or in row, ,preferred over image data type 16 bytes pointer, obsolete, varbinary(max) preferred
image
0-2 GB
16 0-2GB 1 0-8 8 256 0-8016 one column per table 16 bytes pointer 1 byte for every 8 bit columns