Skip to main content
Question

MS-SQL to Postgres


fmesafe.podpora
Contributor
Forum|alt.badge.img+11

Hi, do you know what the problem could be? I have a backup of the MS database, which I load into FME and write to the postgres DB with Postgres writer, but I have no data in postgres. Maybe a datatype? But FME reports no errors.

 

Thank you

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

Does FME read the data from MS-SQL?


fmesafe.podpora
Contributor
Forum|alt.badge.img+11

Not directly from the database, fme reads the *mdb file


redgeographics
Celebrity
Forum|alt.badge.img+49

If you inspect that in Workbench, directly after reading, do you see data?


fmesafe.podpora
Contributor
Forum|alt.badge.img+11

I can see the data from the reader, but it is not functional. I tried to write the data using the INSERT INTO function in pgAdmin and it looks like some kind of coding error. Can I change the encoding in fme before writing?


redgeographics
Celebrity
Forum|alt.badge.img+49
fmesafe.podpora wrote:

I can see the data from the reader, but it is not functional. I tried to write the data using the INSERT INTO function in pgAdmin and it looks like some kind of coding error. Can I change the encoding in fme before writing?

How did you set up the process in FME? It could be an encoding issue (in which case you should be able to set that on the writer) but there could be other issues. One potential one is column naming convention differences.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings