Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to select my last inserted id which is not auto incremented or primary key.
I just want to select last id.
Could anybody suggest me any answer.
Thanx in advance
Posted
Comments
♥…ЯҠ…♥ 11-Dec-13 8:05am    
Do you have any column name updated/inserted on date field in your table? seems silly but if you do not have id field then it may/should have date inserted field my guess
MuhammadUSman1 11-Dec-13 23:55pm    
What are columns of Your table please post here, and update question.

 
Share this answer
 
v2
Comments
Md.Ashraf Ali 11-Dec-13 7:21am    
i already told u i'm not having auto increment id.....
[no name] 11-Dec-13 7:23am    
Check the updated solution..
Hi Ali,

Why you have'nt tried google for this?
I asked google, it did answered me.
You can see the answer here[^].

Hope this helps you a bit.

Regards,
RK
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900