Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server Sql Server作业步骤_Sql Server_Sql Server 2005 - Fatal编程技术网

Sql server Sql Server作业步骤

Sql server Sql Server作业步骤,sql-server,sql-server-2005,Sql Server,Sql Server 2005,我正在动态地向SQLServer代理作业添加步骤,但我需要获取最后一个步骤id以确定序列中的下一个id。我似乎找不到任何可以提供此信息的内置SP。只需点击sysjobsteps表并获取最大id即可我只需点击sysjobsteps表并获取最大id即可。

我正在动态地向SQLServer代理作业添加步骤,但我需要获取最后一个步骤id以确定序列中的下一个id。我似乎找不到任何可以提供此信息的内置SP。

只需点击sysjobsteps表并获取最大id即可

我只需点击sysjobsteps表并获取最大id即可。