We have set of applications which are running on SQL 2000, due to some reason we need to migrate sub set of applications to SQL 2008.
Now the few applications running on SQL 2008 and few on SQL 2000, applications running on SQL 2008 using some of databases which lie on SQL 2000 with Linked server
Now the problem is the some triggers and stored procedures which need to insert the values generated from SQL 2008 to SQL 2000 databases using functions SCOPE_IDENTITY, IDENT_CURRENT, and @@IDENTITY are not working in this scenario.
We are fixing this problem by writing another select statement for selecting identity based on unique parameters in that scope.
We are not aware why this is happening and if there is any solution available.
Please advice!!!
Varinder Sandhu http://varindersandhus.blogspot.com/