题目内容

You are the administrator of a SQL Server 2000 computer. The server contains a database named Inventory. The database has a Parts table that has a field named InStock.
When the parts have shipped, a table named PartsShipped is updated. When the parts are received, a table named PartsReceived is updated. The relationship of these tables is shown in the exhibit.
You want the database to update the InStock field automatically. What should you do?

Add triggers to the PartsShipped and the PartsReceived tables that update the InStock field in the Parts table.
B. Create a user-defined function that calculates current inventory by running aggregate queries on the PartsShipped and PartsReceived tables.
C. Use a view that creates an InStock field as part of an aggregate query.
D. Create stored procedures for modifying the PartsShipped and PartsReceived tables that also modify the InStock field in the Parts table. Use these procedures exclusively when modifying data in the PartsShipped and PartsReceived tables.

查看答案
更多问题

混凝土冬期施工是指在()的气候条件下,所采取的特殊的施工技术措施。

A. 气温在6℃或6℃以下
B. 气温在5℃或5℃以下
C. 最低气温在0℃或0℃以下
D. 最低气温在5℃或5℃以下

我们可以通过()发布信息、了解信息,也可以即时与他人聊天,它就像一块巨大公共广告栏,你可以张贴,也可以看他人的广告。

A. WEB
BBS
C. IP地址
D. Server

使用“剪切”命令和按Delete键删除的文本都将进入剪贴板。()

A. 正确
B. 错误

强制性标准是行政法规规定强制执行的标准。()

A. 正确
B. 错误

答案查题题库