IF NOT EXISTS(
    SELECT *
    FROM sys.columns 
    WHERE Name      = N'defaultSort'
      AND Object_ID = Object_ID(N'pal_SurfaceGridOptions'))
BEGIN
    ALTER TABLE pal_SurfaceGridOptions
	ADD defaultSort VARCHAR(350); 
END