Substring special characters

D

David C

How do I search for CrLf in a text column? I was thinking of "....WHERE
SUBSTRING(Subfile,1,1) LIKE '%vbCrLf%' but I know that is VB syntax.
Thanks.

David
 
C

cfps.Christian

How do I search for CrLf in a text column? I was thinking of "....WHERE
SUBSTRING(Subfile,1,1) LIKE '%vbCrLf%' but I know that is VB syntax.
Thanks.

David

I would find the SQL group and ask them how you would substring for a
line break in a text column.
 
B

bruce barker

just include it in the search string. in sql no special char is needed as lf
is not a line terminator.

select *
from foo
where myColumn like '%
%'


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top