I need to change all the varchar columns to the nvarchar type. I've generated a script with the help from this thread SQL Server - script to update database columns from varchar to nvarchar if not already nvarchar.
However this script cannot change the composite primary key columns. We have many composite keys in our table so this cannot be done manually.
Is there any way to script the change from varchar composite keys to nvarchar?