Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6

    Unanswered: sys.columns for stored procedures?

    SQL 2008

    Is there anything in the system tables\views\catalogues etc... that identifies what columns are retured by a stored procedure?

    I know I am pretty SOL for asking a question late on a friday.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  2. #2
    Join Date
    May 2004
    Location
    Seattle
    Posts
    1,313
    don't think so. you can always do this though:

    set fmtonly on
    exec MyProc
    set fmtonly off

  3. #3
    Join Date
    Apr 2008
    Location
    Iasi, Romania
    Posts
    561
    Provided Answers: 2
    sys.parameters?
    Florin Aparaschivei
    DB2 9.7, 10.5 on Windows
    Iasi, Romania

  4. #4
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,800
    Provided Answers: 11
    Inputs, yes. Returned, no.

    Although table valued functions are listed in syscolumns.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •