Extracting table names, dblinks etc. from sql string
a_yavuzJan 19 2010 — edited Jan 19 2010Hi,
I would like ask if there is an example or any knowledge about extracting table names from an sql string using regex.
Ex.
sqlstr := 'SELECT * FROM schema1.table1@dblk1, shema2.table2@dblk2 WHERE ...'
I need to extract schema names, table names and dblinks. How oracle extract these parameters while creating execution plan.
Thanks.