找考题网-背景图
多项选择题

你正在使用一个SQL Server 2005数据库,它包含一个名为Customers的表。其中Customers表包含如下的列定义:

你使用以下Transact-SQL语句创建一个名为v_Customer的视图。 
CREATE VIEW v_Customer AS  
SELECT CustomerID,CompanyName,FirstName,LastName,Picture
FROM Customers 
你想要在v_ Customer视图中创建一索引。在创建索引前,还需要修改此Transact-SQL语句。
应采取以下哪两项举措?()

A.将Picture列改为image数据类型
B.表名包含模式名。
C.包含WITH  SCHEMABINDING 语句
D.在Select语句中用*符号选择所有的列

热门试题

单项选择题You work with a SQL Server 2005 database that provides banking information for customers. You want customers to see banking reports that combine data that is retrieved from the database with real-time investment information that comes from a Web service provided by a third party. The investment information must be current when the reports are executed. You need to create the appropriate objects that support the reports. What should you do?()

A.Publish the data in the database as an XML Web service by using the FOR XML AUTO clause.
B.Create a table to store the banking information for each customer. Create a trigger that fires when data is inserted into the table that joins with the data coming from the Web service.
C.Create a Transact-SQL stored procedure that uses a temporary table to store the banking information for each customer. Update the table with the values from the Web service.
D.Have a developer in TestKing.com create an assembly that calls the remote Web service.Create a CLR function by using the assembly. Call the CLR function and combine the results with banking information in the database.