HasM (geometry DataType)
Applies to:
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
Note
To view Transact-SQL syntax for SQL Server 2014 (12.x) and earlier versions, see Previous versions documentation.
Return Types
SQL Server return type: bit
CLR return type: Boolean
Remarks
Examples
DECLARE @p GEOMETRY = 'Point(1 1 1 1)'
SELECT @p.HasM
--Returns: 1 (true)
See Also
Extended Methods on Geometry Instances
M (geometry Data Type)
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin