When would you use an output parameter vs a return variable, or vice versa? In the following simple example, I can achieve the same thing using either one.
This is T-SQL, not C. Never use return values, many client side APIs make dealing with return values a pain if not plain impossible. Always use OUTPUT parameters.