How to list all tables that belongs to the current user?
627138Dec 18 2009 — edited Dec 22 2009hi all
"select tblowner,tblname from tables where tblowner in (select user from dual);"
I want a list of all tables that belongs to the current user. I use the SQL above, but given "no rows selectd",but if
I replace the subquery with literal,like
"select tblowner,tblname from tables where tblowner = 'JFMDB');".
I got the list. why?
Thnk u very much!