If I simply use following statement
ALTER TABLE table_name ALTER COLUMN col_name_pwd varbinary(1024) NULL
I get following error
Disallowed implicit conversion from data type varchar to data type varbinary, table 'table_name', column 'col_name_pwd'.
Use the CONVERT function to run this query.
I am little clueless for how do I use CONVERT and ALTER together !
Appreciate your help.