SQL Server Performance


Discussion in 'ALL SQL SERVER QUESTIONS' started by quindraco, Jan 7, 2014.

  1. quindraco New Member

    I need to be able to pass the output of a function to another function as input, where all functions involved are user-defined in-line table-valued functions. I already posted this on Stack Exchange, where I was unable to find any assistance, so here is a link to the relevant code:


    I am fairly certain OUTER APPLY is the core answer here; there's *clearly* some way in which does *not* do what I need, or I would not get the null output you see in the link, but it seems clear that there should be a way to fool it into working. Does anyone know how to do this?

Share This Page