首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
You are the administrator of a SQL server 2000 computer. The server contains a database named Inventory. Developers at your com
You are the administrator of a SQL server 2000 computer. The server contains a database named Inventory. Developers at your com
admin
2009-05-19
53
问题
You are the administrator of a SQL server 2000 computer. The server contains a database named Inventory.
Developers at your company upgrade an inventory tracking application. Users report that when they insert new information in the Locations table, the upgrade application returns the following error message ‘string or binary data would be truncated. The statement has been terminated.’
When you use SQL profiler to trace the activity of the application, you receive the results as shown in the trace exhibit.
You examine the design of the locations table as shown in the table design exhibit.
Table Schema
You need to configure the database to support both versions of the application without affecting server performance. What should you do?
选项
A、Alter the data type of the description field to varchar(50).
B、Alter the data type of the Special field to varchar(50).
C、Alter the data type of the CubicFeet field to float.
D、In the locations table, create an INSTEAD OF trigger that truncates the description field at 10 characters when the record is updated.
E、In the locations table, create an INSTEAD OF trigger that truncates the Special field at 10 characters when the record is updated.
答案
A
解析
Explanation: By examining the first exhibit we see that the Visual Basic application tries to update the Description field. Apparently there is a problem with this field. The description field must be adapted. We increase the field to accommodate for both versions of the application.
Incorrect Answers:
B: The description field, not the special field, is the problem.
C: The error message doesn’t indicate a problem in float column, more likely a character column.
D: This would lose data.
E: The description field, not the special field, is the problem.
转载请注明原文地址:https://kaotiyun.com/show/EuhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
In2009theEuropeanCommissioncarriedoutaninvestigationintoMicrosoft.TheAmericansoftwaregianttiedInternetExplorer,
Thenewaircraftrepresentsa$250mbetbyBombardierthatMexicocouldprovidenotjustroutinelabourbutmanufacturingthat
HeatIsKillerExtremelyhotweatheriscommoninmanypartsoftheworld.Althoughhotweatherjustmakesmostpeoplefeel
Asthemini-blogisbecomingincreasinglypopularamongnetizens,italsobecomescommontocreaterumors.Youaresupposedtow
Youliveinaroomincollegewhichyousharewithanotherstudent.Youfinditverydifficulttoworktherebecauseyourroomma
MireilleGuiliano,achampagnecompanyexecutive,capturedtheattentionoffrustrateddieterswithherjoyoflifeinthe2005
Whateverhappenedtothedeathofnewspaper?Ayearagotheendseemednear.Therecessionthreatenedtoremovetheadvertising
Writealettertoamuseum’sstafftoaskforsomeinformationaboutahistoricalexhibition.Youshouldincludethedetailsyo
Youaretheadministratorofyourcompany’snetwork.Thenetworkisconfiguredasshownintheexhibit.YouwanttoinstallWi
TheEzonexamnetworkTopologyisdisplayedintheexhibitbelow:AswitchhasbeenconfiguredforthreedifferentVLANs:VLAN
随机试题
A.四环素B.多西环素C.二者均是D.二者均否
A.心肌收缩期泵功能障碍B.心肌非对称性肥厚C.心内膜心肌纤维化,心室舒张功能受损D.血压升高,左心室肥厚E.局部心缘突出,有反常搏动肥厚型心肌病为
评标委员会应当否决其投标的情形有()。
会计资料最基本的质量要求是()。
下列属于个人商用房贷款操作风险的有()。
有这样一种假说:冬眠是一种高度发达的机能。冬眠的哺乳动物虽然与人类一样都是温血动物,但是它们在更宽范围的调节性上获得了进化,例如在体温调节上,就要比非冬眠动物强。对这段话理解不正确的是()。
孙小姐在网上某品牌化妆品专卖店购买了一款化妆品,花费了100元.货物送到后经认定是假冒商品,孙小姐便向人民法院提起诉讼,请求赔偿其损失,问孙小姐最多能获得多少赔偿?()
风险大致有两种定义:一种定义强调了风险表现为不确定性;而另一种定义则强调风险表现为损失的不确定性。下列说法正确的是()。
被称为“国际会议之都”的城市是()。
A、 B、 C、 D、 E、 E
最新回复
(
0
)