Hi,
I have created a stored procedure which accepts 2 input parameters (param1 & param2 ) and its output is 'Score'
Eg:
Exec uspScorecalculation StudentID,DeptID
output: 85
Now, My requirement is , I want to populate this value as one of the columns in a 'Select' statement.
Can you please give me some input like how can i write a funtion to retrieve this score from the procedure and use it in the select statement?
I assume, the funciton should pass the two parameters into the stored procedure 'uspScorecalculation' and retreives the Score.
Can you please help me on this?
thanks!