Thread
:
compare two columns
View Single Post
12-13-2005, 06:08 PM
#
3
(
permalink
)
sandman
Junior Member
Join Date: Jul 2005
Posts: 36
Give this a try:
select A, B
from yourtable
where B not like '%' || A || '%'
If needed on your particular server you may have to substitute the database's string concatenation operator for the standard SQL "double pipes" (||) operator.
sandman
View Public Profile
Send a private message to sandman
Find More Posts by sandman
Sponsored Links