Skip to main content Join the Agentforce Virtual Hackathon to build innovative solutions and compete for a $50k Grand Prize. Sign up now. Terms apply.
If I want exclude records starting with '__%' on an Account object how can we write a SOQL query  

Eg: SELECT Id, Name, Status from Account where Name Like 'HA%' - this query will fetch all the receords starting with HA.  But Here I want all the records by 
3 个回答
  1. 2022年7月12日 16:28

    Hii Kamal Try Below Example

    SELECT Id, Name from Account where NOT Name Like 'HA%'

    Please Mark It As Best Asnwer If It Helps

    Thank You!
0/9000