The actual query, often there are multiple tables, queries need to harmonize such segments or the total size of an index or primary key, and we get a lot of tables table name, SQL queries, each time you need to manually add double quotation marks, removing spaces a lot of trouble.
After you can delete unnecessary information through a text editor, column mode.
For example, the following table to obtain a large number of names, it is desirable to query these tables, the primary key constraint already exists, and is automatically named constraint information.
SELECT owner, constraint_name, constraint_type, table_name, Status from the DBA_CONSTRAINTS WHERE owner = ' EXX ' and constraint_type = ' P ' and constraint_name like ' the SYS% ' and table_name in (TRIM ( ' XX ' ) , TRIM ( ' XX ' ))