title: Using a table-value function inside a view in SQL Server
body: <p>I have a table-value function that works correctly if I try the following query:</p>
  
  <pre><code>SELECT    *
  FROM    dbo.GetScheduleForEmployee() AS schedule
  </code></pre>
  
  <p>However if I try to create a view with that query I get a "too few parameters" error.</p>
  
  <p>Is there a limitation with table-value functions and views?</p>