SQL Flow Field Guide

sys.sp_help_spatial_geography_histogram

Check SQL Server version support in the source

Facilitates the keying of grid parameters for a spatial index.

What changes

Input
Not stated in the Microsoft summary.
Output or change
Not stated in the Microsoft summary.

Syntax at a glance

sys.sp_help_spatial_geography_histogram
    [ @tabname = ] N'tabname'
    , [ @colname = ] N'colname'
    , [ @resolution = ] resolution
    [ , [ @sample = ] sample ]
[ ; ]

Work example

Facilitates the keying of grid parameters for a spatial index.

Read the syntax and examples. Explain each argument and its effect before writing a call.

Check your work Which inputs are required, and what result or effect does the page document?

Open Microsoft Learn for full syntax, permissions, and details for your version.