About the datatype size
-
Hi, I am creating one table and it has field like DetailInfo. Since the user can insert short or long details, I am wondering which particular datatype with maximum size to be used ? Well nvarchar has max 5000 but is there anyway i can use more than that size ? So shall I use nText or nvarchar in this case ? thanks in advance
suchita
-
Hi, I am creating one table and it has field like DetailInfo. Since the user can insert short or long details, I am wondering which particular datatype with maximum size to be used ? Well nvarchar has max 5000 but is there anyway i can use more than that size ? So shall I use nText or nvarchar in this case ? thanks in advance
suchita
Which database? If Sql Server, look into nvarchar(max). :cool:
-
Which database? If Sql Server, look into nvarchar(max). :cool:
-
Hi, I am creating one table and it has field like DetailInfo. Since the user can insert short or long details, I am wondering which particular datatype with maximum size to be used ? Well nvarchar has max 5000 but is there anyway i can use more than that size ? So shall I use nText or nvarchar in this case ? thanks in advance
suchita
Note that nText is going away in future SQL server releases. The nvarchar(max) should do what you want.
-
Note that nText is going away in future SQL server releases. The nvarchar(max) should do what you want.