Query using a statement within a VARCHAR2 column
问题 Is there a way for a select statement to include in the WHERE clause a statement that is contained within the table? For example, the following table: CREATE TABLE test_tab( date_column DATE, frequency NUMBER, test_statement VARCHAR2(255) ) / If MOD(SYSDATE - DATE, frequency) = 0 were contained within the column test_statement , is there a way to select rows where this is true? The test_statement will vary and not be the same throughout the table. I am able to do this in PL/SQL but looking to