首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
server’s msdb database in an e-mail message to the administrator of another SQL Server computer. You create a job that contains
server’s msdb database in an e-mail message to the administrator of another SQL Server computer. You create a job that contains
admin
2009-05-19
14
问题
server’s msdb database in an e-mail message to the administrator of another SQL Server computer.
You create a job that contains the following steps:
--Detach the msdb database
--Send the database to the administrator in an e-mail message
--Reattach the msdb database
You test the job, and it fails on the first step. You need to ensure that the msdb database is mailed to the administrator every night.
What should you do?
选项
A、Ensure that the SQLServerAgent service is running under a user account that has database owner access to the msdb database
B、Delete the first and last steps in the job
C、Configure the job to back up the msdb database to a temporary file. Send the file to the administrator in an e-mail message
D、Insert a new job step before the first step. Configure the new step to terminate all processes that use the msdb database
答案
C
解析
Explanation: The current job fails since the detach msdb statement fails. It fails because detaching a database requires that no one is using the database. The msdb database is used by the SQL Server Agent service, which performs scheduled activities such as backups and replication tasks. We want to send the msdb database. The msdb database could be detached if all processes that use it where terminated. Then we could send the database file and reattach the msdb database. This would stop scheduled tasks from being run during this period. A better approach would to be to backup the database and send the temporary file instead.
Note: A new SQL Server 2000 installation automatically includes six databases: master, model, tempdb, pubs, Northwind, and msdb. The master, model, and tempdb databases cannot be detached.
Incorrect answers:
A: The problem that the SQL Service Agent is using the msdb database. This problem would still be there even user account running the SQL Server Agent service is changed.
B: The msdb database is used by the SQL Server Agent service and the database file would be locked. It cannot be sent directly in an e-mail message.
D: The msdb database could be detached if all processes that use it where terminated. Then we could send the database file and reattach the msdb database. This would stop scheduled tasks from being run during this period.
转载请注明原文地址:https://jikaoti.com/ti/xwO7FFFM
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
[A]Thefirststepinpreparingamarketingplanisthatofproducingtheinformationnecessaryfordecision-making.Usually,a
Severaltypesoffinancialriskareencounteredininternationalmarketing;themajorproblemsincludecommercial,political,an
Thenewaircraftrepresentsa$250mbetbyBombardierthatMexicocouldprovidenotjustroutinelabourbutmanufacturingthat
[A]"Ijustdon’tknowhowtomotivatethemtodoabetterjob.We’reinabudgetcrunchandIhaveabsolutelynofinancialrewa
TheBestMediatoUseThereareplentyofoptionsavailableforspreadingnews,suchasnewspapers,radio,TV,theInternet
Whileyouwereawayfromhomeonbusinessafewdaysago,yourfatherfellintoacoma.YourneighborMarystoppedacarandbro
Youareanactivememberofthestudentnewspaper.Thenewspaperiscurrentlylookingforajournalistforthesummersemester.
Asthemini-blogisbecomingincreasinglypopularamongnetizens,italsobecomescommontocreaterumors.Youaresupposedtow
Whateverhappenedtothedeathofnewspaper?Ayearagotheendseemednear.Therecessionthreatenedtoremovetheadvertising
TheoutbreakofswinefluthatwasfirstdetectedinMexicowasdeclaredaglobalepidemiconJune11,2009.Itisthefirstwo
随机试题
在系统性红斑狼疮的多系统损害中,以哪项发生率最高
在通风、空气调节系统的送、回风管道穿越防火分区的隔墙处应设置(),其动作温度宜为()℃。
下列说法中,()是设立代理记账机构的条件之一。
蓝景房地产开发公司的项目部对某一房地产开发项目的开发建设进行全过程和全方位的综合管理,按照项目管理工作任务,管理者将项目细分为成本管理、工期管理、质量管理、现场管理、组织和信息管理、合同管理、风险管理七个子系统。房地产开发项目质量控制的特点包括(
旅游团入住饭店后,一旅游者发现其行李箱丢失,导游应从()环节查起。
网上团购作为一种新型的网络购物方式,受到消费者的热捧。网上团购的盛行()。
根据参照完整性规则,外码的值或者等于以此外码为主码的关系中某个元组主码的值,或者取【】。
HeiscertainthatthedictionaryisjustwhatIwant.
ThebookprovidestipsforWesternerswhoworkinJapanesefirms:gettogetheroutsidetheoffice,findamentorforsupportand
TheNationalHealthServiceinBritainwassetupin1948【B1】______aftertheendoftheSecondWorldWar.Its【B2】______istopro
最新回复
(
0
)