title: sql function last() is not a recognized function
body: <p>I am trying to use the Last() function on my sql server 2008 DB in order to pull out the last record on the table.
  to be more specific, the query I'm using is:</p>
  
  <pre><code>select Last(Id_Number) as id from table1
  </code></pre>
  
  <p>the exception I get starts this way and continue long after.. but the point is at the first line:</p>
  
  <p><a href="http://prntscr.com/1d4o6y" rel="nofollow">http://prntscr.com/1d4o6y</a></p>
  
  <p>what can I do?</p>