单项选择题
You are responsible for implementing maintenance jobs on a SQL Server 2005 database server. Certain jobs run every Sunday and other jobs run at the beginning of every month. You need to schedule the jobs in the way that uses the least amount of administrative effort.
What should you do?()
A.Create a job schedule that runs every Sunday.Assign weekly tasks to this schedule.Create a second schedule that runs on the first day of every month. Assign monthly tasks to this schedule.
B.Create a job for each task that runs once a day. Use a Transact-SQL statement to check the date and day of the week. If the day is either a Sunday or the first day of the month, execute the code.
C.Create a job schedule that runs once a day. Assign jobs to this job schedule. If the day is either a Sunday or the first day of the month, execute the jobs.
D.Create a job for each task that runs once a week on Sunday. Add a second job schedule that runs the job on the first of the month
相关考题
-
多项选择题
TestKing.com uses SQL Server 2005. Users report that report execution is slow. You investigate and discover that some queries do not use optimal execution plans. You also notice that some optimizer statistics are missing and others are out of date. You need to correct the problem so that reports execute more quickly. Which two Transact-SQL statements should you use?()
A.DBCC CHECKTABLE
B.ALTER INDEX REORGANIZE
C.UPDATE STATISTICS
D.CREATE STATISTICS
E.DBCC SHOW STATISTICS
F.DBCC UPDATEUSAGE -
单项选择题
TestKing.com has multiple servers in a distributed environment. You work with two SQL Server 2005 computers named SQL1 and SQL2. Each server uses SQL Server Authentication and they use different logins.You need to write a distributed query that joins the data on SQL1 with the data on SQL2. What should you do?()
A.Ensure that both SQL1 and SQL2 use the same login name as the security context for each server.
B.Configure SQL2 as a remote server. Write the query on SQL1.
C.Configure SQL2 as a linked server to impersonate the remote login.
D.Configure SQL2 as a distributed server. Use pass-through authentication. -
单项选择题
You configure a new SQL Server 2005 computer to use TCP/IP with all default settings. Your corporate policy requires that each server use a firewall. You find that you can connect to the SQL Server instance from the local computer. However, client computers cannot connect to the SQL Server instance.You need to identify the most likely cause of the connection issues. What should you do first?()
A.Ensure that port 1433 is open in your firewall.
B.Ensure that port 443 is open in your firewall.
C.Ensure that client computers connect by using Shared Memory protocol.
D.Ensure that the server is not paused.
