I wanted to check for null or empty GUID in stored procedure. I have used the below code:
CREATE PROCEDURE [dbo].[GetGuid] @buildingID XML, AS DECLARE