If I have a stored procedure that executes another stored procedure several times with different arguments, is it possible that each of these calls makes independently of each other?
In other words, if the first two executions of the nested procedure are successful, but the third does not succeed, is it possible to save the results of the first two executions (rather than throwing them back)?
I have a stored procedure defined in SQL Server 2000 something like this:
CREATE PROCEDURE toplevel_proc .. AS BEGIN ... while @row_count <= @max_rows begin select @parameter ... where rownum = @row_count exec nested_proc @parameter select @row_count = @row_count + 1 end END
sql-server tsql commit transactions
Caldera
source share