Activity Forums Salesforce® Discussions Which SOQL statement can be used to get all records even from recycle bin?

  • Which SOQL statement can be used to get all records even from recycle bin?

    Posted by Shweta on July 6, 2020 at 3:39 pm

    Which SOQL statement can be used to get all records even from recycle bin or Achieved Activities?

    Deepak replied 4 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Deepak

    Member
    July 6, 2020 at 3:47 pm

    In case of Contact object,
    SELECT COUNT() FROM Contact WHERE AccountId = a.Id ALL ROWS

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos