"select @@identity;"-VBForums - VBForums - Visual Basic and VB .NET Discussions and More!
I am finding that "SELECT @@IDENTITY;" works about 3 times out of 4. I have no idea why it decides not to work sometimes. Anyone else found "SELECT @@IDENTITY;" to be unreliable? My code writes a transaction and then debit and credit postings which ......