title: How to capitalize the first letter of words in Snowflake?
body: <p>I need to capitalize the first letter of certain words in my SQL qwery in Snowflake.</p>
  <p>I am currently using this function:</p>
  <pre><code>SELECT ...
      case when FLAG1 is null then upper(FLAG2) else FLAG1 END as STATUS,
  ...;
  </code></pre>
  <p>The <code>UPPER()</code> function however renders all my <code>FLAG2</code> words to be fully capitalized. Anyone know how to capitalize the first letter of words in Snowflake?</p>