February 11, 2019 at 8:20 am
Ah... found it in a 12 year old post of mine. Please see the following post. You can also replace the vendor's code and eliminate the possibility of getting the wrong ID by converting the variables (like the increment) to hard coded values (1 for the increment). You should probably ignore the code that uses a cursor after that. You can do all sorts of stuff without one.
https://www.sqlservercentral.com/Forums/Topic418139-8-1.aspx#bm418200
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2019 at 8:57 am
Thanks all. I have some things to try once I have write access to a development copy of the database.
Viewing 2 posts - 16 through 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply