If your on Oracle you would have to use dynamic SQL and either look up the table names from the data dictionary or pass them in as a parameter. However, why do you want to select from every table? You'd get the cartisian product back as the number of rows and could/would end up with millions / billions of rows
for example of you had three tables with 100 rows each you would get back 1,000,000 rows back, are you sure you want to join all the tables in your DB?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.