Community Member Profile
Jos Menhart
Member since Oct 28, 2009
- Profile: /members/4625-Jos-Menhart.htm
- Comments: 1
- Points: 12
Recent Blog Comments By Jos Menhart
-
Getting @@RowCount After SQL INSERT INTO Statement
Posted on Oct 28, 2009 at 11:55 AM
Totally fool proof, this one: after your insert just write this: SET @ID = SELECT ID FROM inserted INSERTED is new for sql 2005, and can be used for all inserted columns, not only id.... read more »



