| |

VerySource

 Forgot password?
 Register
Search
View: 1060|Reply: 5

Difficulties in importing data from Oracle to SQLServer?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-1 11:40:01
| Show all posts |Read mode
Can I asks a question?
How to set a primary key or parameter in SQL Server to allow such primary key records to have the following records:

Primary key field a
'A000'
'A000'

Prompt duplicate primary key error.
But Oracle can. So oracle prompts duplicate primary key when importing data into SQLServer.
Reply

Use magic Report

0

Threads

23

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-3-14 11:15:01
| Show all posts
Use char () data type.
Reply

Use magic Report

0

Threads

114

Posts

69.00

Credits

Newbie

Rank: 1

Credits
69.00

 China

Post time: 2020-3-14 19:15:02
| Show all posts
Convert to character type:
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-22 16:00:02
| Show all posts
It doesn't work with char type
Reply

Use magic Report

0

Threads

34

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-7-27 13:15:01
| Show all posts
not support!
Reply

Use magic Report

0

Threads

34

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-7-27 14:00:01
| Show all posts
If lz wants to guide, I am afraid only to remove the primary key information
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