MSSQL SQL Server代理 作业 设置(调用存储过程)
1、新建作业名 “生成分区文件及文件组“


2、新建 步骤 名 “CreatePartTable”

步骤名:CreatePartTable 类型:Transact-SQL 脚本(T-SQL) 数据库:UpdateLog(自己的数据库) 命令:exec sp_CreatePartitionTabel

3、新建计划 名“CreatePartTablePlan“


最后请保证作业是启用的,SQL Server代理服务是启动了
1、新建作业名 “生成分区文件及文件组“


2、新建 步骤 名 “CreatePartTable”

步骤名:CreatePartTable 类型:Transact-SQL 脚本(T-SQL) 数据库:UpdateLog(自己的数据库) 命令:exec sp_CreatePartitionTabel

3、新建计划 名“CreatePartTablePlan“


最后请保证作业是启用的,SQL Server代理服务是启动了