Microsoft announced that " ntext, textand imagedata types will be removed in a future version of Microsoft SQL Server". And we recommend using instead nvarchar(max), varchar(max)and varbinary(max).
ntext
text
image
nvarchar(max)
varchar(max)
varbinary(max)
My question is: I have a data type greater than 8 kb. How can I insert this data into sql? What type of data will solve my problem?
MSDN Datatype Document
Any of nvarchar (max) , varchar (max) and varbinary (max) .
nvarchar (max) varchar (max) ( nvarchar Unicode).
varbinary (max) - (, ..).
MAX indicates that the maximum storage size is 2^31-1 bytes.
MAX
indicates that the maximum storage size is 2^31-1 bytes.
, varchar(max), nvarchar(max) ( unicode). varchar (max) 2 ^ 31-1 (Ref.)
, varbinary(max).
nvarchar(max), varchar(max) varbinary(max)
, 8KB, ROW_OVERFLOW_DATA.
MSDN .
, varchar (max) 2 .
"varchar".
, varchar(max), varchar (50) or varchar (1000) or varchar (8000) `.
or
, varchar(50) varchar(1000) upto varchar(8000), varchar(max).
varchar(50)
varchar(1000)
varchar(8000)
"max" "50" / "1000" / "8000" + .
, , .
Source: https://habr.com/ru/post/1778698/More articles:jqGrid TableToGrid remove row - jqueryhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1778694/using-loop-invariants-to-prove-the-correctness-of-heap-sort&usg=ALkJrhhdTMeasCl32e315z7g6LGavGCutwWhy doesn't it work, as I expect here? - bashI again have a problem with protobuf.net - c #Running a search robot for selected sites in the Google App Engine? - google-app-engineIs it thread safe for strcmp? - cAndroid stream data recording efficiency - androidGive a different value for input - javaAccess to a model object from multiple controllers? - objective-cGet Maven Runtime Status in a Shell - ShellAll Articles