首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
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
65
问题
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://www.kaotiyun.com/show/EuhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
Inthe1930s,anAmericanmeatcompanycameoutwithaspicedhamproductsoldinacan.Beforelong,Spam,asitwascalled,be
In2009theEuropeanCommissioncarriedoutaninvestigationintoMicrosoft.TheAmericansoftwaregianttiedInternetExplorer,
[A]Thefirststepinpreparingamarketingplanisthatofproducingtheinformationnecessaryfordecision-making.Usually,a
Writeanessayof160-200wordsbasedonthefollowingtable.Youressayshould1.describethechangesintheaveragefamilyex
BarackObamaspentmuchtimeonthecampaigntrailproposingadramaticvisiontochangenotonlytheUnitedStatesforthebett
Supposeyouhavefoundsomethingwrongwiththebookthatyouboughtfromanonlinestoretheotherday.Writeane-mailtothe
EricHansenwritesabouttravelasaparticipatingenthusiastratherthanamereobserver.【T1】Itgivesthesenineessays,based
Thehumanbraincontains10thousandmillioncellsandeachofthesemayhaveathousandconnections.Suchenormousnumbersused
在用户管理组administrators中添加本地用户“sy”。
设置过滤器时,应先选择database菜单中的()选项。A.setupB.browseC.appendD.copyto
随机试题
计数器是对输入信号进行计算的电路。()
A.新月体肾小球肾炎B.毛细血管内增生性肾炎C.系膜增生性肾小球肾炎D.局灶性节段性肾小球肾炎慢性肾小球肾炎的病理类型是
风寒型感冒的治疗原则是
具发汗解表,和中化湿之功的药物是
女,36岁,农民。近2个月来无明显诱因觉活动后呼吸困难,伴咳嗽、咳痰,咯少量血2次,无发热、盗汗。今日种菜时突然晕倒而急送医院。查体:T37℃,P100次/分,R25次/分,BP140/90ramHg。神清,球结膜无水肿,颈静脉充盈,双肺未闻及干湿哕音,P
心房颤动最常见于
常用的确定曲线回归方程形式的方法有()。
A、Discountswillbeofferedtoregularcustomersonordersofanysize.B、Establishedcustomerswillonlyqualifyforpriceredu
Nadia:WelcometoShanghaiHotel!Brown:MynameisBrown.______.Nadia:Yes,Mr.Brown.Youreservedasingleroomforthreen
SwissReTowerisatypicalexampleofgreenarchitectureinLondon,andwhatismostremarkableaboutthisbuildingisitsener
最新回复
(
0
)