Skip to main content
May 17, 2010
Answered

cfstoredproc

  • May 17, 2010
  • 2 replies
  • 458 views

If you use cfstoredproc to call a stored procedure that has 2 que

ries in it, how do you display the results of both queries?

    This topic has been closed for replies.
    Correct answer ilssac

    I would guess you would have to return each query as seperate "out," or maybe "in-out," parameters.

    Then you would work with the name of each parameter.

    2 replies

    Inspiring
    May 17, 2010

    It depends... You could use separate cfprocresult tags and assign a different name to each one. Then output the queries as usual.

    cfprocresult name="query1"

    cfprocresult name="query2"

    ilssac
    ilssacCorrect answer
    Inspiring
    May 17, 2010

    I would guess you would have to return each query as seperate "out," or maybe "in-out," parameters.

    Then you would work with the name of each parameter.