U kunt proberen om het te doen met behulp van CURSORs
DECLARE @param INT
DECLARE curs CURSOR LOCAL FAST_FORWARD FOR
SELECT parameter FROM table_name WHERE ...
OPEN curs
FETCH NEXT FROM curs INTO @param
WHILE @@FETCH_STATUS = 0 BEGIN
EXEC sp_storeProc @param
FETCH NEXT FROM curs INTO @param
END
CLOSE curs
DEALLOCATE curs