title: Calling Scalar-valued Functions in SQL
body: <p>I have migrated a database from oracle, and now have a few Scalar-valued Functions.</p>
  
  <p>However, when I call them, I get an error saying:</p>
  
  <blockquote>
    <p>Cannot find either column "dbo" or the user-defined function or aggregate "dbo.chk_mgr", or the name is ambiguous.</p>
  </blockquote>
  
  <p>I'm calling it like this:</p>
  
  <pre><code>SELECT dbo.chk_mgr('asdf')
  </code></pre>
  
  <p>What am I doing wrong?</p>