首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
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
48
问题
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
微软认证
相关试题推荐
Severaltypesoffinancialriskareencounteredininternationalmarketing;themajorproblemsincludecommercial,political,an
Ofallthegoodsandservicestradedinthemarketeconomy,pharmaceuticalsareperhapsthemostcontentious.Thoughproducedby
Itishardtomakemoneypeddlingsocialmediaanywhere.Duringtheirfirstfewyearsinbusiness,FacebookandTwitterlostpo
AlmosteveryyearsincetheendofthefinancialcrisishasstartedwithrosyexpectationsamongAmericanforecasters,andthis
Youarethepresidentofacompany.WriteamemotoSallyCooper,theHRmanagerontheemployeestrainingoncomputerto,1
In2016,manyshoppersoptedtoavoidthefreneticcrowdsanddotheirholidayshoppingfromthecomfortoftheircomputer.But
LastThursday,theFrenchSenatepassedadigitalservicestax,whichwouldimposeanentirelynewtaxonlargemultinationalst
Adealisadeal—except,apparently,whenEntergyisinvolved.Thecompany,amajorenergysupplierinNewEngland,provokedjus
Adealisadeal—except,apparently,whenEntergyisinvolved.Thecompany,amajorenergysupplierinNewEngland,provokedjus
Asthelatestcropofstudentspentheirundergraduateapplicationformandweighuptheiroptions,itmaybeworthconsidering
随机试题
关于急性心肌梗死溶栓治疗,下列哪项不正确
吴先生,55岁。独居,清晨被邻居发现昏迷倒在地上,室内有煤气味,急送医院就诊。体格检查:血压160/100mmHg,心率50次/分,昏迷状态,颈有抵抗,口唇呈樱桃红色,受压部位皮肤红肿,有多个水疱,眼底检查示视神经盘水肿。初步诊断“急性一氧化碳中毒,并发脑
高产奶牛,已产3胎,此次分娩后2天,出现精神沉郁,食欲废绝,卧底不起,体温37℃。眼睑反射微弱,头弯向胸部一侧等症状。治疗该病有效的方法是
病因学是研究_______的科学()。
A.法莫替丁B.氯苯那敏C.西咪替丁D.特非那定E.苯海拉明可预防晕动症
周某、赵某和贾某因涉嫌强奸、抢劫(共同犯罪),程某因涉嫌包庇贾某被人民法院依法判刑。周某被判处死刑立即执行,赵某被判处无期徒刑,贾某被判处有期徒刑10年,程某被判处有期徒刑1年、缓刑2年。判决生效后,下级人民法院在接到对周某执行死刑的命令后,发现裁判可能有
过去见过的著名运动员不在面前,然而他的形象仍能浮现在你的脑海里,这种心理现象称为( )
根据代理人进行代理活动的方式,可以将代理分为()。
Whichoftheitalicizedpartsfunctionsasasubject?(2012)
______(无论遇上什么困难).we’llhelponeanotherovercomethem.
最新回复
(
0
)