HasM (geography Data Type)
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 GEOGRAPHY = 'Point(1 1 1 1)'
SELECT @p.HasM
--Returns: 1 (true)
See Also
Extended Methods on Geography Instances
M (geography Data Type)
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho