+ Start a Discussion
santhosh konathala 8santhosh konathala 8 

Can anybody send how to fetch recently updated records using query?

Best Answer chosen by santhosh konathala 8
sandeep sankhlasandeep sankhla
Hi,

if you want to fetch records from account where they are recently updated then simply you can use order by lastModified desc in query for same...

Order By and Desc will give you the lastmodifed records. please chcek and let me know if that helps you.

Thanks

All Answers

sandeep sankhlasandeep sankhla
Hi,

if you want to fetch records from account where they are recently updated then simply you can use order by lastModified desc in query for same...

Order By and Desc will give you the lastmodifed records. please chcek and let me know if that helps you.

Thanks
This was selected as the best answer
sandeep sankhlasandeep sankhla
SELECT LastModifiedDate FROM Account order by LastModifiedDate  desc
santhosh konathala 8santhosh konathala 8
Thanks it works fine