Click here to Skip to main content
15,887,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to migrate postgre sql database to MS sql database. MS sql server is a

remote server. I am trying to do it with linked server but I am getting (error 7303

Data source not found and no default driver specified.)

What I have tried:

I have downloaded ODBC driver(64 bit) for PostgreSQL and setup a data source and on

MS sql server tried to add linked server with windows authentication but I am getting error 7303

(do I have to setup any driver or data source in MS sql server? what are the requirement of ms sql server to create linked server ? )
Posted
Updated 11-May-18 22:52pm

1 solution

I doubt that a linked server is going to work with PostgreSQL.
I once wrote a console application that can convert SQL Server to PostgreSQL, maybe you will find it useful, you just have to rewrite it to do the reverse thing :)
Convert SQL Server Database to PostgreSQL[^]
Another option might be this conversion tool: PostgreSQL to MS SQL Migration and Sync[^]
 
Share this answer
 
v2
Comments
peoria123 14-May-18 9:16am    
Thank you!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900