Create Linked Server in SQL Server 2022 on Linux

Velázquez Paulín Tania Noemi 60 Reputation points
2023-05-30T22:43:24.5333333+00:00

Our team are analyzing the possibility to use SQL Server on Linux but we need to use Linked Server, so the question is if Can we created Linked Server to Oracle and Sybase?

SQL Server Other
{count} votes

Accepted answer
  1. Anonymous
    2023-05-31T07:09:17.3366667+00:00

    Hi @Velázquez Paulín Tania Noemi

    Yes, as Olaf said, according to the official documentation, SQL Server 2022 (16.x) on Linux does not support linked servers for data sources other than SQL Server.

    For more details, you can refer to this link: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-editions-and-components-2022?view=sql-server-linux-2017#unsupported-features-and-services.

    Did these answers help you? If the answer is useful, please click Accept Answer to let others with similar questions quickly find answers. If you have any questions, please feel free to let me know.

    Best regards,

    Aniya


2 additional answers

Sort by: Most helpful
  1. Vahid Ghafarpour 23,385 Reputation points Volunteer Moderator
    2023-05-31T01:37:24.34+00:00

    If you're looking for drivers or providers for Linux to connect to Oracle and Sybase databases from SQL Server, here are some options:

    Oracle:

    • Oracle Data Provider for .NET (ODP.NET) Core: Oracle provides ODP.NET Core, a cross-platform driver that supports Linux. You can find the driver and installation instructions on the Oracle website. Visit the Oracle Data Provider for .NET Core page (https://www.oracle.com/database/technologies/dotnet-core-downloads.html) for downloads and documentation.

    Sybase:

    Ensure that you choose the drivers or providers that are compatible with your specific Linux distribution and version.

    Before installing the drivers, make sure you review the documentation and follow the installation instructions provided by Oracle and Sybase to ensure a successful setup on your Linux system.

    1 person found this answer helpful.
    0 comments No comments

  2. Olaf Helper 47,436 Reputation points
    2023-05-31T06:18:48.6666667+00:00

    See

    https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-editions-and-components-2019?view=sql-server-ver16

    => Unsupported features & services => Database engine => Linked Servers to data sources other than SQL Server

    So linked server to Oracle/Sybase in a SQL Server running on Linux is currently not supported.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.