Activity Forums Salesforce® Discussions Is there any way to get the last inserted or updated recorded data. How?

  • Abhinav

    Member
    July 25, 2016 at 5:22 pm

    Hi Mohit,

    Yes, we can get the last inserted record data. Please use the below query :-

    [Select id from Contact order by createdDate desc limit 1];

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos