- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Global Scan
Operating System - HP-UX
1753909
Members
8723
Online
108810
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2003 08:44 AM
тАО07-09-2003 08:44 AM
Global Scan
Is that possible to do a global scan on database and find
out which are the tables that has a particular string value.
Say "Investments".
I need to know which are the user tables has "Investments" as part of data ( In any of the records).
Raj
out which are the tables that has a particular string value.
Say "Investments".
I need to know which are the user tables has "Investments" as part of data ( In any of the records).
Raj
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2003 09:06 AM
тАО07-09-2003 09:06 AM
Re: Global Scan
Hi,
you can create simple procedure to go through all your tables to find a string value.
Radim
you can create simple procedure to go through all your tables to find a string value.
Radim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2003 10:18 AM
тАО07-09-2003 10:18 AM
Re: Global Scan
Since you didn't bother to Identify your database, it's difficult to be too specific.
I'll get you started.
Phase 1)
Extract the table names and column names for any character columns. e.g. Oracle
SELECT TABLE_NAME, COLUMN_NAME FROM ALL_TAB_COLUMNS WHERE DATA_TYPE LIKE '%CHAR';
Phase 2)
Compare the extracted column names with your target string.
I would tend to do this in two SQL runs letting the Phase 2 select be built using the data from Phase 1.
In any event, this is going to be a slow process.
I'll get you started.
Phase 1)
Extract the table names and column names for any character columns. e.g. Oracle
SELECT TABLE_NAME, COLUMN_NAME FROM ALL_TAB_COLUMNS WHERE DATA_TYPE LIKE '%CHAR';
Phase 2)
Compare the extracted column names with your target string.
I would tend to do this in two SQL runs letting the Phase 2 select be built using the data from Phase 1.
In any event, this is going to be a slow process.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP