Prevent bad data being selected with SQL Server COLLATE -


i have 2 databases , moving data 1 database another. on columns need resolve collation conflict between "latin1_general_ci_as" , "latin1_general_ci_ai". do:

select [column] collate latin1_general_ci_ai            xxx  

this works in main in fields see characters like:

� 

in data has been copied across. seems characters original db lost when collation changed on new db. know can use replace rid of them, wondered rather search entire record set - there way filter out or prevent special characters coming across in first place?


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -