SELECT * FROM USER_SOURCE WHERE TEXT LIKE '%REG_DT%' -- AND TYPE = 'PROCEDURE' -- AND TYPE = 'FUNCTION' ORDER BY NAME, LINE