Hi all.. I have a weird question.. is there any way to search a db using a select query for a hard return in a field? Some of my users have been hitting the enter key in multi-line text boxes and those values have been recorded into the database as is.
The problem is that when I utilize that value later in some other way, some of those processes do not like the hard return and spit back a error.
So I'm trying to find a quick way to search for them and eliminate them but I haven't been able to.. any ideas?
I've tried something like:
select displayname from tablename where displayname like %chr(13)%
However sql server doesn't like that.. tells me I'm missing an expression.. any other ideas?
The problem is that when I utilize that value later in some other way, some of those processes do not like the hard return and spit back a error.
So I'm trying to find a quick way to search for them and eliminate them but I haven't been able to.. any ideas?
I've tried something like:
select displayname from tablename where displayname like %chr(13)%
However sql server doesn't like that.. tells me I'm missing an expression.. any other ideas?