Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Foreign Key

Former Member
0 Likes
388

Hi Frnds,

Is it possible to overwrite Foreign Key. If so, pls give me the procedure.

Thanks,

Ruthra

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
356

Hi,

Modifying Foreign Key is possible. But if there is an already existing data in the table & if you are trying to modify foreign keys, then it would be difficult.

You need to take following points into account before modifying :

1. How many tables would be impacted

2. Whether data exists in those tables.

3. If data exists, then what would be the impact after modifying foreign keys

4. Will you be able to fix the issues of data once foreign keys are modified

5. Is it really necessary to modify foreign key.

6. Is there any other alternative which will have less impact

Best regards,

Prashant

1 REPLY 1
Read only

Former Member
0 Likes
357

Hi,

Modifying Foreign Key is possible. But if there is an already existing data in the table & if you are trying to modify foreign keys, then it would be difficult.

You need to take following points into account before modifying :

1. How many tables would be impacted

2. Whether data exists in those tables.

3. If data exists, then what would be the impact after modifying foreign keys

4. Will you be able to fix the issues of data once foreign keys are modified

5. Is it really necessary to modify foreign key.

6. Is there any other alternative which will have less impact

Best regards,

Prashant