I am copying TEXT columns to another table where the destination column is VARCHAR(MAX).

It appears that this is an implicit conversion and that I do not need to write an explicit CAST for it.

Is this correct?

有帮助吗?

解决方案

As detailed in the excellent Microsoft Documentation, conversions from text to varchar can indeed be implicit.

enter image description here

许可以下: CC-BY-SA归因
不隶属于 dba.stackexchange
scroll top