2012-09-24 71 views
0

申請順序我有一個存儲過程,而這樣的通過對數據恢復

ReportLabelID AssessmentLinkId 
TextBox7   10207 
RadioButton2  10207 
TextArea2   10207 
FullName5   10207 
FullName5   10211 
RadioButton2  10211 
TextArea2   10211 
TextBox7   10211 

返回的數據現在我想的是,要按照字母順序返回的數據與他們的AssessmentLinkId沿順序也像這樣排序

ReportLabelID AssessmentLinkId 
FullName5   10207 
RadioButton2  10207 
TextArea2   10207 
TextBox7   10207 
FullName5   10211 
RadioButton2  10211 
TextArea2   10211 
TextBox7   10211 

請幫我出它的真正緊迫的問題提前

感謝。

+3

'ORDER BY AssessmentLinkID,ReportLabelID'? –

+0

@MarcB謝謝你做到了 – rahul

回答

0

如上

ORDER BY AssessmentLinkID, ReportLabelID 

建議由Marc早沒招我感謝