单项选择题
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.
单项选择题 销售部和财务部在两栋不同的楼里。两个部门由一个2兆位的网络连接。并且都使用SQLServer2005。销售部在一个名为DB1的数据库里记录所有的销售事务。DB1包含380张表,大小为10GB。财务部为做报表可以只读方式访问DB1里的4张表。财务部会全天进行查询并需要尽可能最新的数据。财务部的用户告诉你报表执行非常缓慢。为优化网络容量,你的部门决定为财务部提供此四张表的副本。现在,你需要提供这些表的副本。因此,你想用一种占最小网络带宽的复制法达成此目标,该怎样做?()
单项选择题 You work with a database named DB1, which is located on a SQL Server 2005 computer. You discover that a table scan on Table1 in DB1 causes a slow query. Table1 is a very large table that is used frequently. You ascertain that the query contains the following statement. SELECT col1, col2 FROM table1 WHERE col3 = You need to provide maximum query performance. Table1 must remain available to users. What should you do?()
单项选择题 Your SQL Server 2005 database contains a table that has 500 million rows of data. Some of the data is historical and some is current. You need to partition the data on a single server to increase performance and optimize maintenance. What should you do?()