Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
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
|What is rowversion in SQL Server ? How it is different from MERGE ?||5||24|
|in tsql : how can i copy a temp table #myTable to a global table ##myTable (same columns) ?||13||20|
|Very interesting Access query problem.||13||41|
|Access Migration to Sql Server||2||19|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
19 Experts available now in Live!