in reply to Automating SPROC execution

Look at your posts history, people have given you code to do this before. Go read and stop wasting monks time to do your job for you