Returning Multiple Values

  • Hi

    I need to return a collection from the SP

    Say If I sent the GroupId I want to get the all the users in that group

    How can I do this




    My Blog: http://dineshasanka.spaces.live.com/

  • Are you returning the collection to another SP, to Query Analyzer, or to your front end code?

    Do you want a table returned, or a comma-delimited string of user names?

    Cheers,

    - Mark


    Cheers,
    - Mark

  • table would do




    My Blog: http://dineshasanka.spaces.live.com/

  • Not sure if this what you looking for but look up sp_helpgroup on BOL:

    exec sp_helpgroup 'role'

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

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