MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Select * From ( Select cast(row_number() over (order by QT.DisplayOrder, QT.QuestionID) as varchar(5000)) + '. ' + QT.QuestionText as Question, Case When PVL.PropertyDescription IS NULL THEN P.PropertyValue ELSE PVL.PropertyDescription END as QuestionAnswer From Property P Inner Join ItemData ID ON P.ItemID = ID.ItemID Inner Join QuestionTable QT ON QT.QuestionID = P.PropertyCode Left Outer Join PropertyValueLookup PVL ON PVL.PropertyCode = QT.PropertyCode AND PVL.PropertyValueID = Case When ISNUMERIC(P.PropertyValue) = '1' Then P.PropertyValue Else PVL.PropertyValueID END Where QT.TypeID = '8' AND ID.ItemID = '160' --AND QT.QUestionID = '9' ) as R
Add your voice to the tech community where 5M+ people just like you are talking about what matters.