I want to get the last inserted ID when i insert the new data into the database help me with msql query
Hi kishore21,
If your ID is AutoIncrement Column. call LAST_INSERT_ID() function immediately after insertion.
SELECT LAST_INSERT_ID();
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.