Anybody opposed to this change? Massimo
On Jun 27, 12:33 pm, Jose <jjac...@gmail.com> wrote: > Replacing this: > self._db._execute('SELECT @@IDENTITY;') > > whit: > self._db._execute("SELECT IDENT_CURRENT('%s');"%self._tablename) > > for me it worked in a SQLServer 2000 server I do not know for other > versions of SQLServer. > > With SELECT SCOPE_IDENTITY() there was an error because it was not > recognized.