Viewing 15 posts - 1 through 15 (of 79 total)
That's worked for sys.columns max length, which is correctly showing -1 for those columns.
Thanks.
August 25, 2016 at 10:22 am
max length for the varchar(max) and nvarchar(max) columns are 8000.
I was hoping they would be -1.....
August 25, 2016 at 10:18 am
When I run John's query against my test table (which contains a VARCHAR(MAX) data type column in it), it returns the data type as 'varchar'.
So it seems to miss out...
August 25, 2016 at 10:12 am
Got to the bottom of it.
There were some included columns in the index which were of type varchar(max) which was what was being picked up by SQL Server. Although the...
August 25, 2016 at 8:17 am
I will run that script and also get back the data requested by Gail when I'm logged on tomorrow.
I do think maybe the max_lengths are large for those columns which...
August 24, 2016 at 10:12 am
I am getting this failure message for my online index rebuild:
An online operation cannot be performed for index 'indexname' because the index contains column '' of data type text, ntext,...
August 24, 2016 at 8:35 am
Maybe there was a large amount of data in that nvarchar column which caused sql server to treat it as a LOB during online index rebuilding?
I'm using sql server 2008
August 24, 2016 at 7:14 am
Ok thanks.
Still very strange why SQL Server would pick up on nvarchar data type as a LOB data type though.
August 24, 2016 at 6:04 am
will give it a try, thanks.
August 22, 2016 at 5:56 am
Ok thanks.
Also in addition to this, is there a way of finding out which index columns are of a certain type?
So for example to bring back all index columns for...
August 22, 2016 at 5:50 am
But that would give me all of the indexes for all tables in that database?
I would have to go through each and every index in each table to get to...
August 22, 2016 at 5:19 am
Thanks will have a read through it.
August 8, 2016 at 3:36 am
That worked thanks.
May 19, 2016 at 9:33 am
Viewing 15 posts - 1 through 15 (of 79 total)