Sunday, February 19, 2012

Convert int to ntext

Hello,

I can't convert int data into ntext, how can i do ?

thanks a lot

Explicit conversion from int to ntext is not allowed. But you can do something like below:

select cast(cast(1 as nvarchar(100)) as ntext)

No comments:

Post a Comment