If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > sql query for special characters in a field

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-18-06, 08:16
elisabethk elisabethk is offline
Registered User
 
Join Date: Aug 2005
Posts: 1
sql query for special characters in a field

Dear all,
In a text field in my 9.4.HC4 informix db I have newline characters for some records. Do you know the correct sql query in order to selecet these rows?
I have tried sth like the following but it did not work:
SELECT info-comment FROM info WHERE info-comment LIKE '% || CAST(x'0D0A' as CHAR) || %'
Any ideas?
Thank you,
Eli
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On