How to query String format using SOQL?

How to query String format using SOQL?

Sample SOQL:

  1. SELECT BillingPostalCode   
  2.   FROM Account   
  3.  WHERE BillingPostalCode != NULL AND  
  4.        BillingPostalCode LIKE ‘___-__’  

Output:


Leave a Reply