353: from dual
354: where exists (
355: select 1
356: from pay_dated_tables dt, 357: fnd_tables tab, 358: fnd_columns col
359: where dt.dated_table_id = p_rec.dated_table_id
360: and dt.table_name = tab.table_name
361: and tab.table_id = col.table_id