![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi, I need to do the following through Enterprise Manager (EM). I need to copy the structure of all the tables along with their PK, FK etc and need to copy the data of only select set of tables (not all of them). I tried doing this in EM but lost the relationship between tables in the target database. Here is the example: TablePK has an indexed column. TableFK has a column which is the Foreign key to TablePK. - I create ine DTS package1 in which I transfer both tables as objects along with their PK & FK, and without data. - I ceate a second package2 in which TablePK is only transferred, this time with Data. - At the end I notice that the relationship between TablePK and TableFK is broken in the target database. Does anyone have a clue how do I go about this problem. I am a newbie. TIA. |
![]() |
| Thread Tools | |
| Display Modes | |
| |