views:

130

answers:

1

I am dynamically adding steps to a Sql Server Agent Job, but I need to get the last step id to determine the next id in the sequence. I cannot seem to find any built in sps that can give me this information.

+1  A: 

will just hit up the sysjobsteps table and grab max id....that will work

CSharpAtl