View previous topic :: View next topic |
Author |
Message |
zefrim Beginner
Joined: 29 Jun 2006 Posts: 22 Topics: 19
|
Posted: Wed Jan 02, 2008 4:22 am Post subject: Different Tables in Db2 V8 Z-OS |
|
|
Dear Forum participants
Perhaps someone has a suitable SQL for me ..
Also in our DB2-System are lots of similar tables, but with different table name.
How can I find out in 2 tables if the definitions are the same or different?
Thank you
Zefrim |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jan 02, 2008 4:33 am Post subject: |
|
|
you can compare the results of a syscolumns sql. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
vkphani Intermediate
Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Wed Jan 02, 2008 4:34 am Post subject: Re: Different Tables in Db2 V8 Z-OS |
|
|
Quote: | Also in our DB2-System are lots of similar tables, but with different table name. | What do you mean by this? You mean if there are two tables, the entire table structure (field names and definitions) is same for these two tables but just the table names are different?
Quote: | How can I find out in 2 tables if the definitions are the same or different? | Compare the table structure of both the tables. |
|
Back to top |
|
|
zefrim Beginner
Joined: 29 Jun 2006 Posts: 22 Topics: 19
|
Posted: Wed Jan 02, 2008 5:03 am Post subject: |
|
|
HI
i mean the structure of the both Tables. The Name of the Table ist different.
How can I do this by SQL ?
Zefrim |
|
Back to top |
|
|
vkphani Intermediate
Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
|
Back to top |
|
|
|
|