单项选择题
A. Create an INSERT trigger to assign the default value to each item in the table.
B. Create a CHECK constraint to validate the data and to assign the default value to each item in the table.
C. Create an UPDATE trigger to update the default value for each new item in the table.
D. Create a DEFAULT constraint to assign the default value specifying the WITH VALUES argument.
单项选择题 YouareresponsibleforimplementingmaintenancejobsonaSQLServer2005databaseserver.CertainjobsruneverySundayandotherjobsrunatthebeginningofeverymonth.Youneedtoschedulethejobsinthewaythatusestheleastamountofadministrativeeffort.Whatshouldyoudo?()
多项选择题 YourcompanyusesSQLServer2005.Usersreportthatreportexecutionisslow.Youinvestigateanddiscoverthatsomequeriesdonotuseoptimalexecutionplans.Youalsonoticethatsomeoptimizerstatisticsaremissingandothersareoutofdate.Youneedtocorrecttheproblemsothatreportsexecutemorequickly.WhichtwoTransact-SQLstatementsshouldyouuse?()
单项选择题 A support engineer reports that inserting new sales transactions in a SQL Server 2005 database results in an error. You investigate the error. You discover that in one of the databases, a developer has accidentally deleted some data in a table that is critical for transaction processing. The database uses the full recovery model. You need to restore the table. You need to achieve this goal without affecting the availability of other data in the database. What should you do?()