首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
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
26
问题
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://www.kaotiyun.com/show/TuhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
[A]Thefirststepinpreparingamarketingplanisthatofproducingtheinformationnecessaryfordecision-making.Usually,a
[A]Enduringproblemssuchaswar,poverty,andviolenceultimatelyspringfromhumannature,whichnotechnologicalinnovation
Whileyouenjoythesunlight,itcastsyourshadowontheground.Therehasbeenadiscussionrecentlyontheissueinanewspap
Inthissection,youareaskedtowriteanessaybasedonthefollowinginformation.Makecommentsandexpressyourownopinion.
Adealisadeal—except,apparently,whenEntergyisinvolved.Thecompany,amajorenergysupplierinNewEngland,provokedjus
TheoutbreakofswinefluthatwasfirstdetectedinMexicowasdeclaredaglobalepidemiconJune11,2009.Itisthefirstwo
TheoutbreakofswinefluthatwasfirstdetectedinMexicowasdeclaredaglobalepidemiconJune11,2009.Itisthefirstwo
InToday’smanagement-theoryindustry,reputation—oratleastthecorporatekind—isa"strategicasset"thatcanbe"leveraged"
Asthelatestcropofstudentspentheirundergraduateapplicationformandweighuptheiroptions,itmaybeworthconsidering
程序文件执行过程中要使用调试窗口,应该选择()。A.program菜单中的“trace”选项B.database菜单中的“trace”选项C.windows菜单中的“trace”选项D.debug菜单中的“trace”选项
随机试题
阅读下面的文言文选段,完成下列问题。师说(节选)韩愈嗟乎!师道之不传也久矣!欲人之无惑也难矣!古之圣人,其出人也远矣,犹且
StudentsandTechnologyintheClassroomIlovemyblackberry—it’smylittleconnectiontothelargerworldthatcangoany
某院高干病房收治病种繁杂,但是护理人力比较充足,70%的护理人员具有大专以上学历,且工作年限均在5~8年以上,该病房适合采用的护理工作方式为
幼儿2岁,不慎跌伤。诊断股骨干上1/3骨折,治疗方法最好的是
某企业2014年1月份基本生产车间领用甲材料50000元,辅助生产车间领用甲材料2000元,车间管理部门领用甲材料4500元,企业行政管理部门领用甲材料2500元。下列会计分录错误的有()。
附有或有条件的债务重组,债权人“将来应收金额”一般应包括()。
汉族传统寓意图案中的()经冬不凋,因此有“岁寒三友”之称。
Igrewupseeinghandwrittennotesasthebestexpressionoflove.Mymomoften【C1】______small,squarepapersonthebedforme
A.Createacreativespace.B.Keepanopenmind.C.Anythingispossible.D.Don’tneglectthedetail.E.Tieintoyourbusinessgoa
Theroomisso____withfurniture-----thatitishardtomoveabout.
最新回复
(
0
)