I created a table with two column of varchar type. One of these is primary key. Now I need to ALTER the type of the two COLUMNs to nvarchar.
Only the non primary key column succeeds.
Of course you should follow amitra's advice only when the database is not is use or you could have a problem with someone adding a duplicate record just while you are making the change. Always be aware fo the potential for Murphy's Law to kick in.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.