May 28, 2014 at 4:30 pm
Hi,
I have some views.
When I select this views I want to replace the character "|" by "" and any character that is inserted into the database that does not belong to the collation.
To replace "|" on the result set off the view I can do like:
Select replace(fileds1,"|",""),field2......
But how can I replace the invalid charaters (characters that don't belong to the collation)
on the result set of the view?
Thanks,
Pedro
May 29, 2014 at 7:35 am
Duplicate post. direct replies here. http://www.sqlservercentral.com/Forums/Topic1575391-146-1.aspx
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply