I have a database which has nearly 1000 tables
. All the textual type field is of varchar
type. It has nearly 1000+ stored procedures
and functions
too.
These procedures
and functions
got their own varchar
parameters and varchar
variables.
I need to convert every varchar
type field to nvarchar
type in one go in every table, procedures and functions
.
Of-course I could do it one by one but that would take years to do it manually.
I don't need to change the size. If its varchar(50)
. I want output like nvarchar(50)
. No change in size.