Results 1 to 3 of 3

Thread: Get last inserted record

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    2

    Get last inserted record

    How to get last inserted record from a table without knowing last record detail


  2. #2
    Junior Member
    Join Date
    Dec 2007
    Answers
    1

    Re: Get last inserted record

    use SQLPrimaryKeys function to get the primary key colunm name and use that name in max method and use the result in the select statement.....
    Try it all the best


  3. #3
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Get last inserted record

    Are you also storing insert data and time along with the data in the database ?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact