Hi TheLearnedOne,
My Development Environment is ASP.Net and using Informix as the Database.
I wanted to know if i run an insert eg:
sSQL = "insert into subsdisc(subsdiscid, sp_plan_ref, discid, subsdiscwefr, subsdiscweto, subsdiscauto) " & _
"values(0, " & SpPlanRef & ", 6000, current, '9999-01-01 00:00:00','N') "
is there a way to obtain the last inserted serial key.
I am not able to obtain much help from the link provided.
thanks.
Main Topics
Browse All Topics





by: TheLearnedOnePosted on 2007-06-28 at 08:21:27ID: 19381604
It really depends on your development environment.
com/infoce nter/wasin fo/v4r0/ in dex.jsp?to pic=/com.i bm.support .was.doc/h tml/ DB_Con nections_C onnection_ Pooling/11 88293.html
Concise guide to retrieving identity or serial column values in DB2, Sybase and Informix databases
http://publib.boulder.ibm.
Bob