首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
You are the administrator of a SQL Server 2000 computer named SQL1. You want to perform ad hoc distribution queries against a da
You are the administrator of a SQL Server 2000 computer named SQL1. You want to perform ad hoc distribution queries against a da
admin
2009-05-19
97
问题
You are the administrator of a SQL Server 2000 computer named SQL1. You want to perform ad hoc distribution queries against a database that is stored on a SQL Server 2000 computer named SQL2. SQL2 contains several databases, and each of these databases uses a different collation.
You want to ensure that comparisons in distributed queries are evaluated correctly. You also want to minimize administrative overhead.
How should you configure SQL1?
选项
A、Use the ALTER DATABASE statement to change the collation of the databases on SQL1.
B、Add SQL2 as remote server.
C、Add SQL2 as a linked server. Select the Use Remote Collation check box, and do not specify a collation name.
D、Add SQL2 as a linked server. Select the Use Remote Collation check box, and specify a collation name. Repeat this process once for each database on SQL2.
答案
C
解析
Explanation: We should set up SQL2 as a linked server. This would enable to issue distributed queries to it. We should also select Remote Collation option to use the collation on the remote server.
Note: SQL Server 2000 allows the creation of links to OLE DB data sources called linked servers. After a link has been created it is possible to reference rowsets from the OLE DB data sources as tables in Transact- SQL statements and pass commands to the OLE DB data sources and include the resulting rowsets as tables in Transact-SQL statements.
Each distributed query can reference multiple linked servers and can perform either update or read operations against each individual linked server. A single distributed query can perform read operations against some linked servers and update operations against other linked servers. The linked server options defined by using the sp_serveroption stored procedure control how SQL Server uses collations from linked servers. When the UseRemoteCollation option is set to TRUE, it specifies that the collation of remote columns is used for SQL Server data sources, and the collation specified in CollationName is used for data sources other than SQL Server.
When FALSE, distributed queries always use the default collation of the local server instance, and CollationName and the collation of remote columns are ignored. If the UseRemoteCollation option is set to TRUE, we can specify the name of the collation used by the remote data source in the CollationName option. The collation must, however, be supported by SQL Server. This option should be used when accessing an OLE DB data source other than SQL Server, but whose collation matches one of the SQL Server collations
Incorrect Answers:
A: The COLLATE clause of the ALTER DATABASE statement can be used to change the collation used by the database. However, this solution is inappropriate as the SQL2 server contains several databases, each of which uses a different collation. We would thus not be able to specify all the collations.
B: Remote servers are set up in pairs with both servers configured to recognize each other as remote servers. The configuration options for both servers should be set so that each instance of SQL Server allows remote users to execute procedure calls. However, support for remote servers is provided for backward compatibility only. Applications that must execute procedures against remote instances of SQL Server 2000 should use linked servers instead.
D: In this scenario we cannot specify the collation name as SQL2 contains several databases, each of which use a different collation.
转载请注明原文地址:https://kaotiyun.com/show/7whZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
Inthe1930s,anAmericanmeatcompanycameoutwithaspicedhamproductsoldinacan.Beforelong,Spam,asitwascalled,be
[A]Thefirststepinpreparingamarketingplanisthatofproducingtheinformationnecessaryfordecision-making.Usually,a
[A]Thefirststepinpreparingamarketingplanisthatofproducingtheinformationnecessaryfordecision-making.Usually,a
Ofallthegoodsandservicestradedinthemarketeconomy,pharmaceuticalsareperhapsthemostcontentious.Thoughproducedby
CigarettesmokingisahealthhazardofsufficientimportanceintheUnitedStatestowarrantappropriateremedialaction.Itwa
Thisweekandnext,governments,internationalagenciesandnongovernmentalorganizationsaregatheringinMexicoCityattheWo
In2016,manyshoppersoptedtoavoidthefreneticcrowdsanddotheirholidayshoppingfromthecomfortoftheircomputer.But
NextmonthBritonswillhaveyetmoresmartphonestochoosefrom,whendevicesfromWiko,atwo-year-oldFrenchcompany,goons
关于在网页中加入书签来实现跳转的说法,正确的是______。A.可以实现页面间的跳转B.可以实现同一页面中不同位置的跳转C.在页面编辑时,需要使用“Insert”中的“NamedAnchor”D.只能跳转到其它页面的页首
Bobisanewsecurityadministratoratafinancialinstitution.Theorganizationhasexperiencedsomesuspiciousactivityonone
随机试题
损坏较严重的事故车修理属于全面修理类型。()
男性54岁,车祸,右胫腓骨中1/3粉碎骨折,复位后夹板固定,因右小腿肿胀足趾剧烈疼痛伤后36h转诊,检查:右足趾明显肿胀,青紫,感觉麻木,足趾活动差,毛细血管充盈尚存在,取除夹板见右小腿肿胀甚,皮温较高且皮肤有水疱出现,考虑并发最可能为
观察蝶鞍最佳CT扫描方式选择是
先张法预制梁板时,承力台座应有足够的强度、刚度和稳定性,钢横梁受力后,挠度不能大于()mm。
注册会计师于2007年3月10日完成了对ABC有限责任公司的审计工作,并于3月20日提交了审计报告,则管理当局声明书所注明的日期应为( )。
根据所给资料,回答下列小题。该省2011年招生人数与2010年相比,增长最多的是:
统计数字表明,近年来.民用航空飞行的安全性有很大提高。例如,某国2008年每飞行100万次发生恶性事故的次数为0.2次,而1989年为1.4次。从这些年的统计数字看,民用航空恶性事故发生率总体呈下降趋势。由此看出,乘飞机出行越来越安全。以下哪项不能加强上述
计算
有如下类定义classAnimal{public:virtualvoidName()=0;};classKoala:publicAnimal{public:voidName
LudwigvanBeethovenwasoneofthe【B1】______composerswhoeverlived,tiethoughtpeoplethatcouldbe【B2】______whentheywrote
最新回复
(
0
)