gpt4 book ai didi

sql - Azure弹性作业删除

转载 作者:行者123 更新时间:2023-12-03 01:21:36 27 4
gpt4 key购买 nike

我如何删除我的 flex 工作代理。
我确实为此创造了工作,只是创造了它。

最佳答案

如果您通过T-SQL创建Elastic Job Agent,请引用Delete a job and all its job history:

删除作业及其所有作业历史记录

--Connect to the job database specified when creating the job agent

EXEC jobs.sp_delete_job @job_name='ResultsPoolsJob'

--Note: job history is automatically deleted if it is >45 days old

对于PowerShell,请引用 Remove-AzSqlElasticJobAgent:
Remove-AzSqlElasticJobAgent
[-ResourceGroupName] <String>
[-ServerName] <String>
[-Name] <String>
[-Force]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]

您也可以从Portal的 Elastic Job Agent Preview中将其删除:
enter image description here

要获取更多详细信息,您可以阅读以下博客: Introduction to Azure Elastic Database Jobs

希望这可以帮助。

关于sql - Azure弹性作业删除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60026781/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com