- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- list table and fields and compare to another table...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО11-08-2009 10:14 AM
тАО11-08-2009 10:14 AM
we are upgrading a database, and I need to determine if any thing has changed in the tables.
So how do I take a dump of tables from a schema, then do a compare and see if the columns are like for like between now and upgraded schema?
I want to do this in ksh with sql.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2009 10:20 AM
тАО11-08-2009 10:20 AM
Re: list table and fields and compare to another table fields
I would export it to Word or Excel and use the Search and Sort utilities from these applications.
Else I'll need more information to write a script. Please attach a sample file and what you want to check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2009 10:29 AM
тАО11-08-2009 10:29 AM
Re: list table and fields and compare to another table fields
Lets break it down to two smaller tasks.
First list all tables in schema.
I would do this for both current and new.
Then do a compare of the two, to see what is new.
How do I pull the table names from a schema to a flat file.
Next, what I want to do, is pull the table name for a schema with all the columns and compare to new, to see if any additional columns were added.
Would I use describe?
hope this helps. Oracle database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 03:14 AM
тАО11-09-2009 03:14 AM
Solutionthere are scripts around to do what you want (as I understand). wrote the wrapper fro the list of tables to compare.
http://dbathoughts.blogspot.com/2008/02/compare-table-structure-in-oracle.html
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 07:54 AM
тАО11-09-2009 07:54 AM
Re: list table and fields and compare to another table fields
I have the table that I want to compare on another server/database.
How do I set up that connection?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 03:48 AM
тАО11-10-2009 03:48 AM
Re: list table and fields and compare to another table fields
impoting the schema (descriptions) will work perfect for dedicated set of tables. As no rows are imported little space is required.
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 07:10 AM
тАО11-10-2009 07:10 AM