| |

VerySource

 Forgot password?
 Register
Search
View: 639|Reply: 2

anxious! Wait online! Problems with data import / export! Brothers enlighten me!

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-9 17:00:01
| Show all posts |Read mode
My previous database did not have foreign keys. Now I have to add them. After I add them, I generate a database through ERWIN. When importing data from the previous database, I always prompt foreign key conflicts. What indexes are not allowed What kind of errors can I solve? And there are some triggers in my database. Will they be affected when I import data?
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-4-3 19:15:01
| Show all posts
Has anyone encountered this problem before?
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-4-4 15:30:01
| Show all posts
Index, see if it is the only index, if it is, you can not import the value that already exists in the index column in the table

There is also a foreign key. If you are importing into a slave table and the value of the foreign key does not exist in the master table, the system will also prohibit the import

The solution is to delete the index and relationship first, and then insert and then import the data. If you want to create the same index and relationship again, please check the value of the column to be uniquely indexed. Change the same value
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list