Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Global Result Changes

Author  Topic 

ConradK
Posting Yak Master

140 Posts

Posted - 2010-06-02 : 10:39:56
Is there no way to set the results of a select statement globally to exclude certain characters, or to be strictly of a specific character set?

In other words, if I want to say 'okay, no more ampersands(&) in results' and I have a bunch of code, do I have to go to every column and do a 'replace' function?

Kristen
Test

22859 Posts

Posted - 2010-06-02 : 10:58:42
Yeah, you get the data "as it is" from the database ...

If you want to ESCAPE it, or somesuch, then you need to apply that column-by-column - but it would be better to do that (and any other "formatting and filtering") in the Application
Go to Top of Page
   

- Advertisement -