TRIG_A
TRIG_B
TRIG_C
TRIG_D
第1题:
Exhibit:
UPDATE EzonexamConsolidated
SET District = ‘Mexico’
WHERE RtvID = 45
You work as database administrator at Ezonexam.com. You handle one SQL Server 2000 computer and one database.
When users run the query in the exhibit above the receive the following error message:
Server: Mrh3612, Level 16, Stats 1, Line 1
View or function ‘EzonexamConsolidated’ is not updateable because it
contains aggregates:
How should you enable the query to run?
A.Create a non-normalized EzonexamConsolidated table and populate the table with data from the base tables.
B.The appropriate users should be granted UPDATE permissions on each base table.
C.To enable updates on the composite tables create an INSTEAD OF trigger on the view.
D.On each base table add a cascading update trigger.
第2题:
Table TAB1 was created using the following statement: CREATE TABLE tab1 (c1 INT, c2 INT, c3 INT, c4 INT, c5 INT); If column C1 is unique and queries typically access columns C1, C2 and C3 together, which statement(s) will createindex(es) that will provide optimal query performance?()
第3题:
A technician has just finished installing a new server into a server rack. Which of the following should the technician do NEXT to complete the installation documentation?()
第4题:
Which of the following circumstances would automatically create a system restore point?()
第5题:
A user needs to create a trigger that will update table T2 whenever a row is added to table T1. Assuming the user has all appropriate privileges for table T2, which privilege is required on table T1 to create the trigger?()
第6题:
你定义了一个对象类型myOBJ,要基于该类型来创建表tab1,语句为()。
第7题:
Which statement describes the effect on an index, when the indexed column for the rows is updatedin the base table()
第8题:
You are responsible for managing the database schema for an order entry application in a SQL Server 2005 database. After a design review, a member of the development staff asks you to add a new column named CommissionRate to the Product table. Because the actual commission rates for all products are not known at this time, each product has a default commission rate of 12 percent. The rate can be modified as necessary. You add the new column. You need to configure the table to assign the default value as efficiently as possible. What should you do?()
第9题:
CREATE UNIQUE INDEX xtab1 ON tab1 (c1); CREATE INDEX xtab2 ON tab1 (c2) INCLUDE (c3)
CREATE UNIQUE INDEX xtab1 ON tab1 (c1) INCLUDE (c2, c3)
CREATE UNIQUE INDEX xtab1 ON tab1 (c3, c2, c1)
CREATE UNIQUE INDEX xtab1 ON tab1 (c2) INCLUDE (c1, c3)
第10题:
Create an INSERT trigger to assign the default value to each item in the table.
Create a CHECK constraint to validate the data and to assign the default value to each item in the table.
Create an UPDATE trigger to update the default value for each new item in the table.
Create a DEFAULT constraint to assign the default value specifying the WITH VALUES argument.
第11题:
Define the column MAINID as NOT UPDATABLE
Define the column MAINID as a PRIMARY KEY
Define the column MAINID as a FOREIGN KEY
Define an UPDATE trigger on table TABLEX
第12题:
CREATE UNIQUE INDEX xtab1 ON tab1 (c1) include (c2)
CREATE UNIQUE INDEX xtab1 ON tab1 (c1); CREATE INDEX xtab2 ON tab1 (c3) INCLUDE (c2)
CREATE UNIQUE INDEX xtab1 ON tab1 (c2, c1)
CREATE UNIQUE INDEX xtab1 ON tab1 (c2) INCLUDE (c1)
第13题:
A.CREATE TABLE tab1 OF myOBJ
B.CREATE TABLE myOBJ OF tab1
C.CREATE TABLE tab1 AS myOBJ
D.CREATE TABLE tab1 TYPE OF myOBJ
第14题:
Table TAB1 was created using the following statement: CREATE TABLE tab1 (c1 INT, c2 INT, c3 INT, c4 INT, c5 INT); If column C1 is unique and queries typically access columns C1 and C2 together, which statement(s) will create index(es) that will provide optimal query performance? ()
第15题:
约束可以通过哪条命令创建()
第16题:
Given the following statements: CREATE TABLE tab1 (col1 INT); CREATE TABLE tab2 (col1 INT); CREATE TRIGGER trig1 AFTER UPDATE ON tab1 REFERENCING NEW AS new1 FOR EACH ROW MODE DB2SQL INSERT INTO tab2 VALUES(new1.col1); INSERT INTO tab1 VALUES(2),(3); What is the result of the following query? SELECT count(*) FROM tab2;()
第17题:
Which of the following can be used to ensure that once a row has been inserted in table TABLEX, the column MAINID in that row cannot be updated?()
第18题:
Which two operations can be performed on an external table()
第19题:
Which two operations can be performed on an external table()
第20题:
An update in a leaf row takes place.
The index becomes invalid after the update.
The leaf block containing the row to be updated is marked as invalid.
A row in the leaf block of the index for the key value is logically deleted and a new leaf row is inserted
第21题:
3
2
1
0
第22题:
Create an INSERT trigger to assign the default value to each item in the table.
Create a CHECK constraint to validate the data and to assign the default value to each item in the table.
Create an UPDATE trigger to update the default value for each new item in the table.
Create a DEFAULT constraint to assign the default value specifying the WITH VALUES argument.
第23题:
TRIG_A
TRIG_B
TRIG_C
TRIG_D
第24题:
REFERENCES
SELECT
UPDATE
ALTER