From 54b0d4209561e2704f5813fad53d2075387fc3be Mon Sep 17 00:00:00 2001 From: sommarskog Date: Sun, 7 Dec 2025 20:19:39 +0100 Subject: [PATCH] Update sp-help-spatial-*-histogram-transact-sql.md Corrected the required permission based on the actual behaviour, although this has to be construed as a bug. That is, you don't get an explicit permission error, but only "A severe error occurred on the current command. The results if any should be discarded". Given how long this behaviour has been there, fixing the actual bug is unlikely to pass the triage bar. Thus, better to adopt the documentation. --- .../sp-help-spatial-geography-histogram-transact-sql.md | 2 +- .../sp-help-spatial-geometry-histogram-transact-sql.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/relational-databases/system-stored-procedures/sp-help-spatial-geography-histogram-transact-sql.md b/docs/relational-databases/system-stored-procedures/sp-help-spatial-geography-histogram-transact-sql.md index a38b57d3e65..a380c770ac9 100644 --- a/docs/relational-databases/system-stored-procedures/sp-help-spatial-geography-histogram-transact-sql.md +++ b/docs/relational-databases/system-stored-procedures/sp-help-spatial-geography-histogram-transact-sql.md @@ -65,7 +65,7 @@ A table value is returned. The following grid describes the column contents of t ## Permissions -User must be a member of the **public** role. Requires READ ACCESS permission on the server and the object. +User must be a member of the **sysadmin** fixed server role. ## Remarks diff --git a/docs/relational-databases/system-stored-procedures/sp-help-spatial-geometry-histogram-transact-sql.md b/docs/relational-databases/system-stored-procedures/sp-help-spatial-geometry-histogram-transact-sql.md index 0d4b75e05d7..6ef2b1dea48 100644 --- a/docs/relational-databases/system-stored-procedures/sp-help-spatial-geometry-histogram-transact-sql.md +++ b/docs/relational-databases/system-stored-procedures/sp-help-spatial-geometry-histogram-transact-sql.md @@ -85,7 +85,7 @@ A table value is returned. The following grid describes the column contents of t ## Permissions -User must be a member of the **public** role. Requires `READ ACCESS` permission on the server and the object. +User must be a member of the **sysadmin** fixed server role. ## Remarks