Hi Folks,
I have an existing column of data type varchar that I need to change to nvarchar, however I do not want to alter the existing column width of (5).
If I use the following statement
ALTER TABLE MYTABLE ALTER COLUMN MYCOLUMN NVARCHAR (5) NOT NULL
I end up with a column of nvarchar data type, but with a column width of (10)!
If I try the following statement without specifying a column width
ALTER TABLE MYTABLE ALTER COLUMN MYCOLUMN NVARCHAR (5) NOT NULL
I then end up with an nvarchar column with a width of (2)
How can I simply change the column data type from varchar to nvarchar without affecting the existing column width?
Thank you!