Activity Forums Salesforce® Discussions What is the Actual meaning of ALL ROWS in Salesforce SOQL?

  • Surbhi

    Member
    May 24, 2016 at 7:56 am

    Hi Himanshu,

    SOQL statements can use the "ALL ROWS" keywords to query all records in an organization, including deleted records and archived activities. You can use ALL ROWS to query records in your organization's Recycle Bin.

    But, you cannot use this keywords with the "FOR UPDATE" operation . This is supported by apex, but does not supported by developer console. 

    Thanks

  • Avnish Yadav

    Member
    September 30, 2018 at 4:29 am

    Hello,

    All ROWS = existing reords in Object  + existing records in recycle bin + allready expiry records in recycle bin(which is deleted from first).

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos