I have old procedure written on Sybase and need to be migrated to SQL Server one of the problem I facing is that in Sybase we usually write the declaration of the cursor usi