title: How to format money value in SQL
body: <p>Where is the problem with my sql command?</p>
  
  <pre><code>select REPLACE(CONVERT(varchar, CAST(price AS money), 1),'.','.') as price
  </code></pre>
  
  <p>output :</p>
  
  <pre><code>price
  -----
  145,000,00
  </code></pre>
  
  <p>I want output like this</p>
  
  <pre><code>price
  -----
  145.000,00
  </code></pre>