There is no way to determine which columns a stored procedure returns in SQL, since the output can have multiple record sets, my differ depending on parameters values, etc.
By using ASP, PHP, etc. you can determine the amount of recordsets returned and their columns.
For what purpose are you trying to return the columns a SP will output?