Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.08 KB

hasm-geography-data-type.md

File metadata and controls

49 lines (37 loc) · 1.08 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
HasM (geography Data Type)
HasM (geography Data Type)
MladjoA
mlandzic
05/04/2017
sql
t-sql
reference
HasM_TSQL
HasM
HasM geography
TSQL

HasM (geography Data Type)

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance]

Returns 1 (true) if a spatial object contains at least one M value; otherwise, it returns 0 (false).

Syntax

  
.HasM  

Return Types

[!INCLUDEssNoVersion] return type: bit

CLR return type: Boolean

Remarks

Examples

DECLARE @p GEOGRAPHY = 'Point(1 1 1 1)'  
SELECT @p.HasM   
--Returns: 1 (true)  

See Also

Extended Methods on Geography Instances
M (geography Data Type)