SELECT TOP 1000
CASE WHEN VRI.Square_Footage <> ''
THEN VRI.Square_Footage
ELSE
CASE WHEN VRI.Property_Type = 'LAND'
THEN CAST((CONVERT(NUMERIC(38, 3),VRI.Acres)*43560) AS DECIMAL)
ELSE
VRI.Lot_Size
END
END
FROM View_Report_Information_Tables AS VRI
即使我檢查VRI.Acres
與isnumeric()
,它仍然產生相同的確切的錯誤?我該如何解決這個問題?
@Conrad Frix:感謝您的編輯!順便說一句,你有一個非常酷的化身;)! – Chan 2011-04-25 16:34:52