Stored Procedure column names

  • Are the column names returned by a stored procedure stored anywhere, or are they generated at run time?  I tried syscolumns, but all that offers is the paramater names.

    Thanks for any insight you may be able to provide.

    Mike

     

     

  • Generated at runtime, as far as I know. Makes sense, since sps can return completely different resultsets for different callings.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanks. 

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply