DECLARE @t TABLE(Words VARCHAR(100))
INSERT INTO @t
SELECT 'Stack Overflow' UNION ALL
SELECT 'EQUATORIAL'
SELECT * FROM @t
WHERE Words LIKE '%[AEIOU]%'
I am getting both as the output
Words
Stack Overflow
EQUATORIAL
The desired output being EQUATORIAL
Thanks