select line break in all columns

select * from orders
WHERE shipaddress1 LIKE ('%'+CHAR(10)+'%')


I want to do this for all the columns in orders
LVL 1
rgb192Asked:
Who is Participating?
 
Aneesh RetnakaranDatabase AdministratorCommented:
select * from orders
WHERE shipaddress1 LIKE ('%'+CHAR(10)+'%')
or shipaddress2 LIKE ('%'+CHAR(10)+'%')
or shipaddress3 LIKE ('%'+CHAR(10)+'%')

 --like this,  mention all the columns
0
 
rgb192Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.