Shubham Garg
Shubham Garg

Reputation: 21

Why is External Table syntax different in SQL Server 2019 vs Azure SQL Database? `

I have to perform cross DB querying in SQL Server 2019 as well as Azure SQL. I am able to create External data source and external tables in both databases, however the syntax seem to be different. Can someone please guide me if there is one standard script that can work in both cases?

Azure SQL Database

SQL Server 2019

Upvotes: 2

Views: 750

Answers (1)

Leon Yue
Leon Yue

Reputation: 16431

Azure SQL SQL database is a cloud database. Azure SQL Database is a fully managed Platform as a Service (PaaS) Database Engine

Even it almost has the same feature with SQL Server, there are still many difference.

They are running in different platform, that's why the syntax could be difference.

Please reference this document to get Transact-SQL differences between Azure SQL Database and SQL Server.

Across database query in Azure SQL database is more complicated than SQL Server. If we want to achieve the same feature with SQL Server in Azure SQL, there are be a syntax difference.

Hope this helps.

Upvotes: 1

Related Questions