|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: |
declare @ProjectId varchar(8)
declare @DocNo int
declare @DocId varchar(50)
declare @TestRev varchar(5)
set @ProjectId = '07074'
set @DocId = 'Q1251-ME-BWSE-1000'
set @TestRev = 'D'
SELECT rtrim(Proj_DocRev.RevisionId) AS RevId, Proj_RevStyles.Priority as Priority
FROM dbo.Proj_Documents , dbo.Proj_DocRev , dbo.Proj_Codes , dbo.Proj_RevStyles
WHERE proj_documents.Projectno = @ProjectId
AND ((@DocNo IS NULL) OR (Proj_Documents.DocNo = @DocNo))
AND ((@DocId IS NULL) OR (Proj_Documents.DocId LIKE @DocId))
AND Proj_Documents.DocNo = Proj_DocRev.DocNo
AND Proj_Documents.ProjectNo = Proj_Codes.ProjectNo
AND Proj_Codes.RevisionStyle = Proj_Revstyles.Id
AND Proj_DocRev.RevisionId LIKE Proj_RevStyles.Tag
UNION
SELECT rtrim(@TestRev) as RevId, Proj_RevStyles.Priority as Priority
FROM dbo.Proj_Documents , dbo.Proj_DocRev , dbo.Proj_Codes , dbo.Proj_RevStyles
WHERE Proj_Codes.ProjectNo = @ProjectId
AND Proj_Codes.RevisionStyle = Proj_Revstyles.Id
AND ((@TestRev IS NOT NULL) AND (@TestRev LIKE Proj_Revstyles.Tag))
ORDER BY Priority DESC,RevId DESC;
|
Advertisement
| Hall of Fame |