6、sql脚本。 Use msdbGo--create credentialif exists(select 1 from sys.credentials where name='cred1') drop credential cred1Create credential cred1 with identity='stswordman-pctestuser1',secret='123123_a'go--remove exist jobif exists(select 1 from sysjobs where name='removeFile') exec msdb.d