Command example "Update Statistics" has an equalilty sign which should not be there - PowerShell azure-docs

The command example just below the section "Create single-column statistics by specifying the sample size" has an equality sign which should not be there.

The command showed in the documentation is: CREATE STATISTICS col1_stats ON dbo.table1 (col1) WITH SAMPLE = 50 PERCENT;

And the correct is: CREATE STATISTICS col1_stats ON dbo.table1 (col1) WITH SAMPLE 50 PERCENT;

Notice that in the last line there is nothing between the word SAMPLE and the number 50.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Asked Oct 11 '21 04:10
avatar felipespas-brz
felipespas-brz

2 Answer:

@felipespas-brz, Thanks for the feedback! We are taking a look into this and will get back to you soon.

1
Answered Jun 20 '21 at 02:59
avatar  of AjayKumar-MSFT
AjayKumar-MSFT

A PR for the fix has been submitted, which will be merged within 24hrs.

Thanks for bringing this to our notice helping us improve the doc content.

We will now proceed to close this. Please feel free to comment of you have further queries

1
Answered Jun 20 '21 at 23:25
avatar  of KranthiPakala-MSFT
KranthiPakala-MSFT