I need to replace following characters in two places (nodejs app and SQL Server database). Characters are: - ( , . ) [ ] _
String can be in any language like English, Japanese etc.
Node Js and SQL server both has replace in-built function and I am using that. These inbuild function is not doing the work.
In Node js when I read data from database using package "node-mssql" it is getting converted to question mark and replace is not working.
In SQL Server, the replace
function is treating drawing line as dash and replacing it with empty string.
What is the right way to do it in both SQL Server and Node Js.
SQL Server version is 2016