SQL Server服务器代理作业的语法含义

时间:2019-03-25 00:58:19

标签: sql-server

我有一个SQL Server代理作业,这是创建其步骤之一的脚本:

EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N'Load data and Email enquiries', 
    @step_id=1, 
    @cmdexec_success_code=0, 
    @on_success_action=3, 
    @on_success_step_id=0, 
    @on_fail_action=2, 
    @on_fail_step_id=0, 
    @retry_attempts=0, 
    @retry_interval=0, 
    @os_run_priority=0, @subsystem=N'SSIS', 
    @command= 'check details in below'
    @database_name=N'master', 
    @flags=0

如果是(@@ ERROR <> 0或@ReturnCode <> 0),请转到QuitWithRollback

@command字符串的详细信息显示在下面

N'/SQL "\"\OdinOds Loaders\LoadDataInfolink\"" /SERVER ServerName1 /CONNECTION "\"Destination_db\"";"\"Data Source=my_data_source;User ID=user1;password=password1;Initial Catalog=catalog1;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=false;\"" /CONNECTION "\"Source_db\"";"\"Data Source=server2;User ID=user1;password=password1;Initial Catalog=db3;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=false;\"" /CHECKPOINTING OFF /REPORTING E', 

我想知道的是开始部分的含义

/SQL "\"\OdinOds Loaders\LoadDataInfolink\""

LoadDataInfolink是存储过程还是其他东西?

0 个答案:

没有答案