I have a Azure SQL online SQL-database. How can I create a linked server to a DB2 server with a VPN (Fortigate).
I have checked some tutorials, but my SSMS does not have a folder "linked Servers", because it is Azure-SQL. Also running EXEC sp_addlinkedserver is not working, because it leads to Could not find stored procedure 'sp_addlinkedserver'.
How can I link these two databases to do simple Queries with them? Inserting is not really necessary to DB2.
I am currently working with a combo of python/pandas DataFrame joining and synchronizing/uploading the data from DB2 to Azure-SQL, which requires heavy, prone to error python code and lot of storage on Azure-SQL.
You cannot create a linked server on Azure SQL Database as the feature it is not supported. Azure SQL Managed Instance does support linked servers but you are only able to use the SQL provider (driver) to connect to Azure SQL Database, SQL Server, Azure Synapse, SQL serverless or Azure SQL Managed Instance.
Only on a SQL Server VM you will be able to create a linked server to connect to a DB2 server.