Null (geometry Data Type)
Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance
A read-only property providing a null instance of the geometry type.
Syntax
Null
Note
To view Transact-SQL syntax for SQL Server 2014 (12.x) and earlier versions, see Previous versions documentation.
Arguments
Return Types
SQL Server type: geometry
CLR type: SqlGeometry
Remarks
Examples
The following example retrieves a null geometry
instance.
DECLARE @g geometry;
SET @g = geometry::[Null];
SELECT @g
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for