Could someone please help me with this?
I need to convert an nchar column to an nvarchar column and trim the whitespace.
Thank you.
Could someone please help me with this?
I need to convert an nchar column to an nvarchar column and trim the whitespace.
Thank you.
declare @foo nchar(32)
select @foo = ' Hello, World '
select ltrim(rtrim(convert(nvarchar(32), @foo)))