[thelist] Key ID of Record Just Created?

Frank lists at frankmarion.com
Tue Aug 23 11:07:54 CDT 2005


At 11:53 AM 2005-08-23, you wrote:
>In ASP.NET / VB.NET, is it possible to discover the key_id of a record just
>created?  Key ID column is doc_id.


If you are using MySQL, I would simply use

SELECT LAST_INSERT_ID() AS last_insert;



Frank Marion     lists at frankmarion.com      Keep the signal high.





More information about the thelist mailing list