title: SQL Update Int to Equal Int on another Table
body: <p>I want the <code>images.url_id</code> value to be the same as the <code>urls.url_id</code> value.</p>
  
  <p>This is what I have come up with based off of <a href="http://www.tech-recipes.com/rx/30514/sql-server-use-case-expression-in-update-statement/" rel="nofollow noreferrer">this</a>, but it doesn't work.</p>
  
  <pre><code>update images
  set images.url_id = urls.url_id
  from images inner join urls
  on images.url_id = urls.url_id
  ;
  </code></pre>
  
  <p>Any help would be appreciated greatly.</p>