'Convert implicit varchar max
When I use the CONVERT(VARCHAR(200), Field) to extract the first 200 characters of a varchar(max) field, SQL show me a warning on the select operator on the execution plan as in the below image
This is the simple query I used:
select top ? convert(varchar(200),Column1) from Object1
I try to compare 3 select:
In terms of granted memory the result is the same and in the plan I can see that the compute scalar operator reduce the size of data after its execution. So, why the warning with convert?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|



