You need to sign in to do that
Don't have an account?
SBN
Records based on Timestamp
Hi,
I have a requirement to process the records (which have same data) based on the latest timestamp from the staging table.
Could any one tell me the SOQL query to retrieve the records based on the latest timestamp?
Thanks
List<MyStagingObject__c> objects = [SELECT Id FROM MyStagingObject__c OrderBy LastModifiedDate];