Condividi tramite


HasZ (tipo di dati geometry)

Restituisce 1 (true) se un oggetto spaziale contiene almeno un valore Z; in caso contrario, restituisce 0 (false).

Sintassi

.HasZ()

Tipi restituiti

SQL Server - tipo restituito: bit

CLR - tipo restituito: Boolean

Esempi

DECLARE @p GEOMETRY = 'Point(1 1 1 1)'
SELECT @p.HasZ 
--Returns: 1 (true)

Vedere anche

Riferimento

Z (tipo di dati geometry)

Altre risorse

Metodi estesi sulle istanze di geometria