Skip to main content
Solved

Using FME to connect to a MS SQL Server linked server

  • October 11, 2022
  • 1 reply
  • 86 views

nedwaterman
Contributor
Forum|alt.badge.img+9

Hi all,

I need to connect to a linked server in my SQL Server. Is there a method of connecting to a Server Object using FME?

Alternatively I have a query that collects my data but running it through the SQLCreator doesn't produce any attribution (presumably because FME doesn't natively connect to the data).

Thanks

Neil

Best answer by kailinatsafe

Hello @nedwaterman​, thanks for posting! Great question! FME does appear to be able to read from linked server objects. I created a linked server connection in SMSS and was able to consume records using the SQLCreator. You may want to double check your credentials and or query in FME! I’ve included the query below. Note: Be sure to check the results and look in the Feature information window, or expose the attributes to see them in the table view.

 

Select * from [linked server name].[catalog/db name].[schema].[table]

 

 Happy to help, Kailin

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

kailinatsafe
Safer
Forum|alt.badge.img+23
  • Safer
  • Best Answer
  • October 18, 2022

Hello @nedwaterman​, thanks for posting! Great question! FME does appear to be able to read from linked server objects. I created a linked server connection in SMSS and was able to consume records using the SQLCreator. You may want to double check your credentials and or query in FME! I’ve included the query below. Note: Be sure to check the results and look in the Feature information window, or expose the attributes to see them in the table view.

 

Select * from [linked server name].[catalog/db name].[schema].[table]

 

 Happy to help, Kailin