sql - INSERT INTO SELECT Mix of languages -
quick question. i'm trying transfer entire columns 1 database table another. know simple as
insert software(name, type) select (name, type) serials (productname, type)
the product name column has mix of both english , asian characters. far insert queries have been replacing asian characters squares. know can specify variable type using n@variabletoinsert. there such function doing same entire columns?
my column type nvarchar.
thanks in advance
try cast column nvarchar:
insert software(name, type) select (cast(name nvarchar), type) serials (productname, type)
Comments
Post a Comment