Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Select all tables from schema
BloodHobbes schrieb:
> Hi,
>
> Could anyone help me out here? I want to select all records from all
> the tables of a certain scheme (oracle 9i). Is there anyway to do
> this?
How would one do that? UNION is not possible because of different
structure of the tables.
If you want to generate sql queries (dynamic) over all tables you can
"select table_name from user_tables" and then loop through this cursor.
Regards,
Hermann Received on Thu Mar 11 2004 - 07:33:03 CST