Null (geography Data Type)

Applies to: yesSQL Server (all supported versions) YesAzure SQL Database YesAzure SQL Managed Instance

A read-only property providing a null instance of the geography type.

Syntax

  
Null  

Note

To view Transact-SQL syntax for SQL Server 2014 and earlier, see Previous versions documentation.

Arguments

Return Types

SQL Server type: geography

CLR type: SqlGeography

Remarks

Examples

The following example retrieves a null geography instance.

DECLARE @g geography;   
SET @g = geography::[Null];  
SELECT @g  

See Also

Extended Static Geography Methods