You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a batch script which creates steps in SQL job.
The script is being truncated at a GO statement which is part of a step
of the job.
example script:
EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N'Daily
job',
@step_id=1,
@cmdexec_success_code=0,
@on_success_action=3,
@on_success_step_id=0,
@on_fail_action=3,
@on_fail_step_id=0,
@retry_attempts=0,
@retry_interval=0,
@os_run_priority=0, @subsystem=N'TSQL',
@command=N'
dml statements
GO
dml statements '
I am using RoundhousE.v0.7.0.276 on Windows server 2003.
How can i prevent the script being split incorrectly.
Original issue reported on code.google.com by [email protected] on 22 Nov 2010 at 3:33
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 22 Nov 2010 at 3:33The text was updated successfully, but these errors were encountered: