title: How to name arguments to a UDF?
body: <p>i'm calling a user-defined function (UDF). i want to be able to name the parameters (like you can with stored procedures) for ease of readability (and to reduce errors), e.g.:</p>
  
  <pre><code>SELECT * FROM CalculateSettlementSheet(7, 2)
  </code></pre>
  
  <p>would become</p>
  
  <pre><code>SELECT * FROM CalculateSettlementSheet(@BankID = 2, @UserID = 7)
  </code></pre>
  
  <blockquote>
    <p>When i try it i get the error message:</p>
  
  <pre><code>Msg 137, Level 15, State 2, Line 1
  Must declare the variable '@BankID'.
  </code></pre>
  </blockquote>
  
  <p>Possible?</p>