title: SQL Error - The identifier that starts with..........is too long. Maximum lenght is 128
body: <p>Below is my SQL query which is returning back error message</p>
  
  <blockquote>
    <p>The identifier that starts with 'CASE WHEN PX_PAXWEB.COUNTRY = 'AUT' THEN >vw_POSTCODE.POSTCODE
                                      WHEN PX_PAXWEB.COUNTRTY &lt;> 'AUT' THEN vwPxPaxWe'<br>
    is too long. Maximum length is 128.</p>
    
    <p>Msg 103, Level 15, State 4, Procedure vwRBARpt_AJ, Line 168<br>
    The identifier that starts with 'CASE WHEN AG_AGENTS.SALES_AREA_DESC = 'Int. – Inbound >Then vwPxPaxweb.SALES_AREA' is too long. Maximum length is 128."</p>
  </blockquote>
  
  <p>Here's the SQL query:</p>
  
  <pre><code>CASE 
     WHEN AG_AGENTS.SALES_AREA_DESC = 'Dom. - NAT' 
       THEN [CASE 
                WHEN PX_PAXWEB.COUNTRY = 'AUT' THEN vw_POSTCODE.POSTCODE
                WHEN PX_PAXWEB.COUNTRTY &lt;&gt; 'AUT' THEN vwPxPaxWeb.SALES_AREA
                ELSE COALESCE (vw_POSTCODE.POSTCODE, vwPxPaxWeb.SALES_AREA, AG_AGENTS.SALES_AREA_DESC) ]
     ELSE 
        [CASE WHEN AG_AGENTS.SALES_AREA_DESC = Int. – Inbound 
                THEN vwPxPaxweb.SALES_AREA
                ELSE COALESCE(vwPxPaxweb.SALES_AREA, AG_AGENTS.SALES_AREA_DESC)]
  END AS SALES_AREA_DESC_2
  </code></pre>