title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | ms.custom | f1_keywords | helpviewer_keywords | dev_langs | monikerRange | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HasM (geography Data Type) |
HasM (geography Data Type) |
MladjoA |
mlandzic |
05/04/2017 |
sql |
t-sql |
reference |
|
|
|
|
=azuresqldb-current || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric |
[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance FabricSQLDB]
Returns 1 (true) if a spatial object contains at least one M value; otherwise, it returns 0 (false).
.HasM
[!INCLUDEssNoVersion] return type: bit
CLR return type: Boolean
DECLARE @p GEOGRAPHY = 'Point(1 1 1 1)'
SELECT @p.HasM
--Returns: 1 (true)
Extended Methods on Geography Instances
M (geography Data Type)