|
-
Nice business requirement.
What you need is a query that would write the query you need, here are the specs:
1- select from dba_tab_columns where schema is one of the schemas you want to search AND the column has a datatype like varchar2 -I suppose you don't want to search date and number columns, don't you?
2- rework your query to add the "select" syntax including a where clause in the form "liike '%JOHN SMITH%'.
3- last but not least don't forget to wrap column name on upper() function.
Your query should provide you one query for each searchable column.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|