Skip to content

Commit 59ca33c

Browse files
authored
Merge pull request #185372 from LitKnd/external-tables-limitations-azuresqldb
Adding limitation for cursors and elastic query
2 parents 892f2d8 + ab848fc commit 59ca33c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

articles/azure-sql/database/elastic-query-overview.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,11 @@ Elastic query is included in the cost of Azure SQL Database. Note that topologie
137137
* Running your first elastic query can take up to a few minutes on smaller resources and Standard and General Purpose service tier. This time is necessary to load the elastic query functionality; loading performance improves with higher service tiers and compute sizes.
138138
* Scripting of external data sources or external tables from SSMS or SSDT is not yet supported.
139139
* Import/Export for SQL Database does not yet support external data sources and external tables. If you need to use Import/Export, drop these objects before exporting and then re-create them after importing.
140-
* Elastic query currently only supports read-only access to external tables. You can, however, use full T-SQL functionality on the database where the external table is defined. This can be useful to, e.g., persist temporary results using, for example, SELECT <column_list> INTO <local_table>, or to define stored procedures on the elastic query database that refer to external tables.
140+
* Elastic query currently only supports read-only access to external tables. You can, however, use full Transact-SQL functionality on the database where the external table is defined. This can be useful to, e.g., persist temporary results using, for example, SELECT <column_list> INTO <local_table>, or to define stored procedures on the elastic query database that refer to external tables.
141141
* Except for nvarchar(max), LOB types (including spatial types) are not supported in external table definitions. As a workaround, you can create a view on the remote database that casts the LOB type into nvarchar(max), define your external table over the view instead of the base table and then cast it back into the original LOB type in your queries.
142142
* Columns of nvarchar(max) data type in result set disable advanced batching technics used in Elastic Query implementation and may affect performance of query for an order of magnitude, or even two orders of magnitude in non-canonical use cases where large amount of non-aggregated data is being transferred as a result of query.
143143
* Column statistics over external tables are currently not supported. Table statistics are supported, but need to be created manually.
144+
* Cursors are not supported for external tables in Azure SQL Database.
144145
* Elastic query works with Azure SQL Database only. You cannot use it for querying a SQL Server instance.
145146

146147
## Share your Feedback

articles/azure-sql/database/elastic-query-vertical-partitioning.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ You can use regular SQL Server connection strings to connect your BI and data in
198198
## Next steps
199199

200200
* For an overview of elastic query, see [Elastic query overview](elastic-query-overview.md).
201+
* For limitations of elastic query, see [Preview limitations](elastic-query-overview.md#preview-limitations)
201202
* For a vertical partitioning tutorial, see [Getting started with cross-database query (vertical partitioning)](elastic-query-getting-started-vertical.md).
202203
* For a horizontal partitioning (sharding) tutorial, see [Getting started with elastic query for horizontal partitioning (sharding)](elastic-query-getting-started.md).
203204
* For syntax and sample queries for horizontally partitioned data, see [Querying horizontally partitioned data)](elastic-query-horizontal-partitioning.md)

0 commit comments

Comments
 (0)