264: from dual
265: where exists (
266: select 1
267: from pay_dated_tables dt, 268: fnd_tables tab, 269: fnd_columns col
270: where dt.dated_table_id = p_rec.dated_table_id
271: and dt.table_name = tab.table_name
272: and tab.table_id = col.table_id