title: inner join function with params
body: <p>Is it possible to do this</p>
  
  <pre><code>SELECT * 
    FROM xcu
    JOIN fun_Blocked_Dates('2011-01-01', '2012-01-01', xcu.uid) bd ON bd.uid = xcu.uid 
  </code></pre>
  
  <p>It seems that function Blocked_Dates is unable to accept xcu.uid as a valid parameter.</p>
  
  <p>I get an error "Incorrect syntax near 'xcu'."</p>