Skip to content

Commit b1bd332

Browse files
committed
Documents that @format_output = 1 removes most decimals.
This closes #605 on the assumption that it is a documentation issue.
1 parent 7465e70 commit b1bd332

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

sp_QuickieStore/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Use the `@expert_mode` parameter to return additional details.
6161
| @query_type | varchar | filter for only ad hoc queries or only from queries from modules | ad hoc, adhoc, proc, procedure, whatever. | NULL |
6262
| @expert_mode | bit | returns additional columns and results | 0 or 1 | 0 |
6363
| @hide_help_table | bit | hides the "bottom table" that shows help and support information | 0 or 1 | 0 |
64-
| @format_output | bit | returns numbers formatted with commas | 0 or 1 | 1 |
64+
| @format_output | bit | returns numbers formatted with commas and most decimals rounded away | 0 or 1 | 1 |
6565
| @get_all_databases | bit | looks for query store enabled user databases and returns combined results from all of them | 0 or 1 | 0 |
6666
| @include_databases | nvarchar(4000) | comma-separated list of databases to include (only when @get_all_databases = 1) | a string; comma separated database names | NULL |
6767
| @exclude_databases | nvarchar(4000) | comma-separated list of databases to exclude (only when @get_all_databases = 1) | a string; comma separated database names | NULL |

sp_QuickieStore/sp_QuickieStore.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ ALTER PROCEDURE
8888
@query_type varchar(11) = NULL, /*filter for only ad hoc queries or only from queries from modules*/
8989
@expert_mode bit = 0, /*returns additional columns and results*/
9090
@hide_help_table bit = 0, /*hides the "bottom table" that shows help and support information*/
91-
@format_output bit = 1, /*returns numbers formatted with commas*/
91+
@format_output bit = 1, /*returns numbers formatted with commas and most decimals rounded away*/
9292
@get_all_databases bit = 0, /*looks for query store enabled user databases and returns combined results from all of them*/
9393
@include_databases nvarchar(max) = NULL, /*comma-separated list of databases to include (only when @get_all_databases = 1)*/
9494
@exclude_databases nvarchar(max) = NULL, /*comma-separated list of databases to exclude (only when @get_all_databases = 1)*/
@@ -204,7 +204,7 @@ BEGIN
204204
WHEN N'@query_type' THEN 'filter for only ad hoc queries or only from queries from modules'
205205
WHEN N'@expert_mode' THEN 'returns additional columns and results'
206206
WHEN N'@hide_help_table' THEN 'hides the "bottom table" that shows help and support information'
207-
WHEN N'@format_output' THEN 'returns numbers formatted with commas'
207+
WHEN N'@format_output' THEN 'returns numbers formatted with commas and most decimals rounded away'
208208
WHEN N'@get_all_databases' THEN 'looks for query store enabled user databases and returns combined results from all of them'
209209
WHEN N'@include_databases' THEN 'comma-separated list of databases to include (only when @get_all_databases = 1)'
210210
WHEN N'@exclude_databases' THEN 'comma-separated list of databases to exclude (only when @get_all_databases = 1)'

0 commit comments

Comments
 (0)