I have a stored procedure, and I'd like to pass it a parameter that tells me which field in a select clause to order my result set by. How do I do this?
Printable View
I have a stored procedure, and I'd like to pass it a parameter that tells me which field in a select clause to order my result set by. How do I do this?
In Sql Server...
Read
http://www.sqlteam.com/item.asp?ItemID=2209
It will tell you how.
This was right on point... and quick.
Thank you,
Adam