Skip to content

Commit 5b4e97a

Browse files
committed
Learn Editor: Update create-statistics-transact-sql.md
1 parent 90ce1b8 commit 5b4e97a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/t-sql/statements/create-statistics-transact-sql.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ When creating external table statistics, [!INCLUDE [ssNoVersion](../../includes/
278278

279279
When the external table is using `DELIMITEDTEXT`, `CSV`, `PARQUET`, or `DELTA` as data types, external tables only support statistics for one column per `CREATE STATISTICS` command.
280280

281+
When the external table uses an ODBC-based external data source, `CREATE STATISTICS` does not support the `SAMPLE … PERCENT` option.
282+
In this case, only default sampling (no `SAMPLE` clause) or `FULLSCAN` is supported.
283+
284+
281285
### Statistics with a filtered condition
282286

283287
Filtered statistics can improve query performance for queries that select from well-defined subsets of data. Filtered statistics use a filter predicate in the `WHERE` clause to select the subset of data that is included in the statistics.

0 commit comments

Comments
 (0)