Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / June 2006

Tip: Looking for answers? Try searching our database.

Drop/Recreate parent table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt - 07 Jun 2006 19:34 GMT
I have a parent table that has 2 child tables.  I need to drop and
recreate the parent table because there has been a change to one of the
column types.  What should I do prior to dropping the table to make
sure that when recreated and reloaded it will identify the child
tables?  This may sound like a dumb question.  In test, I exported the
data out then dropped the table and recreated it and reloaded the data.
However, after reloading the data, the table doesn't identify the
child tables as being related when I select Show Related in the Control
Center.  Did I leave something out of the process before dropping the
table or is there something I still need to do to make the table
recognize its relationship to the other 2 tables?  Thanks for any help.
Matt
Shashi Mannepalli - 07 Jun 2006 21:13 GMT
You need to re-create the RELATIONSHIP after you drop-re-created the
table.

cheers...
Shashi Mannepalli

> I have a parent table that has 2 child tables.  I need to drop and
> recreate the parent table because there has been a change to one of the
[quoted text clipped - 8 lines]
> recognize its relationship to the other 2 tables?  Thanks for any help.
>  Matt
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.