Aug 30, 2004 #1 new2unix Programmer Feb 5, 2001 143 US Hi, How would I retrieve the newest primary key (an autonumber field in a SQL7 db) immediately after a conn.execute insert command is executed? Thanks, Mike
Hi, How would I retrieve the newest primary key (an autonumber field in a SQL7 db) immediately after a conn.execute insert command is executed? Thanks, Mike
Aug 30, 2004 #2 zemp Programmer Jan 27, 2002 3,301 CA Look into using the @@Identity property. Searching this forum for '@@Identity' will give you many results, like thread709-638213. zemp Upvote 0 Downvote
Look into using the @@Identity property. Searching this forum for '@@Identity' will give you many results, like thread709-638213. zemp
Sep 7, 2004 #3 tb Programmer May 27, 2003 328 Please see this thread too ... thread183-906124 I was standing in the park, wondering why frisbees got bigger as they came closer... then it hit me! Upvote 0 Downvote
Please see this thread too ... thread183-906124 I was standing in the park, wondering why frisbees got bigger as they came closer... then it hit me!