varcharmax Questions

9

Solved

I'm a bit old school when it comes to database design, so I'm totally for using the correct data sizes in columns. However, when reviewing a database for a friend, I noticed he used varchar(max) a ...
Valladolid asked 21/8, 2011 at 21:50

3

Solved

If varchar(max) is used as the datatype and the inserted data is less than the full allocation, i.e. only 200 chars, then will SQL Server always take the full space of varchar(max) or just the 200 ...
Mission asked 19/6, 2013 at 3:42

2

Solved

I have a variable which has SQL string stored in it and am executing it through exec() Declare @sql varchar(max) set @sql = Concat('select...',@var,'..') -- large string exec (@sql) but am ge...
Karalynn asked 2/11, 2016 at 10:2

3

Solved

Ok I'm using SQL Server 2008 and have a table field of type VARCHAR(MAX). Problem is that when saving information using Hibernate, the contents of VARCHAR(MAX) field is getting truncated. I don't s...
Grassland asked 14/6, 2012 at 18:53

3

Solved

Possible Duplicate: SQL Server Text type vs. varchar data type Using varchar(MAX) vs TEXT on SQL Server from this article, it looks like they both have the same size capacity: http:/...
Osteotome asked 12/9, 2011 at 15:19

1

I have a column in SQL varchar(max). Using LINQ, when I'm trying to add a record with a string over 64k large, the value is not saved into DB. I'm simply doing; test.MyString = LargeString; //(ove...
Skep asked 4/8, 2011 at 15:19
1

© 2022 - 2024 — McMap. All rights reserved.