I am trying to create a single search for multiple text strings within a stored procedure. The following code works for test1, but when I try both test1 & test2 I get no results; no error either.
The line for test2 is remarked-out now.
SELECT name, line, text
FROM user_source
WHERE type = 'PROCEDURE'
AND UPPER(text) LIKE UPPER('%test1%')
-- AND TEXT LIKE UPPER('%test2%')
ORDER BY NAME;
What am I doing incorrectly?