MERGE
SELECT …CROSS JOIN
INSERT ALL …SELECT
CREATE VIEW …CONSTRAINT
第1题:
You are planning to import customer data from the Customer table and the Country table in your SQL Server 2000 database into a SQL Server 2005 database. You want to ensure that during the import process,each value in the CountryCode column of the Customer table has a corresponding record in the CountryCode column in the Country table of the SQL Server 2005 database. You define a foreign key between these two tables. Thus,referential integrity will guarantee that the import routine fails if there are any records where a CountryCode value does not exist in the Country table but does exist in the Customer table. You need to ensure that the import process does not fail if records are encountered that do not exist in the Country table. What should you do?()
第2题:
Which three are true?()
第3题:
You are responsible for a data warehouse application that uses records from an external table to update one of the dimension tables periodically. The records in the external table may contain data for new rows in the dimension table, or for updates to its existing rows. Which type of SQL command would you use to transfer the data from the external table to the dimension table as efficiently as possible?()
第4题:
In which scenario will you create a sorted hash cluster? ()
第5题:
You added a PHONE_NUMBER column of NUMBER data type to an existing EMPLOYEES table. The EMPLOYEES table already contains records of 100 employees. Now, you want to enter the phone numbers of each of the 100 employees into the table. Some of the employees may not have a phone number available. Which data manipulation operation do you perform?()
第6题:
You need to ensure the Order Control team is able to track the number of orders that reach the production department. What should you do?()
第7题:
Create a new Time dimension based on the Holiday table. Use derived columns for the month and the year.
Create a Server Time dimension. Within this dimension, enable the time periods year, month, and date. Select the Additional Manufacturing calendar option.
Create a new Time dimension based on the date values within the ProductOrderStatus table. Flag those days on which no orders were received as Holiday.
Create a new Time dimension based on a data source view named query. Derive the data for this data source view from unique dates within the ProductOrderStatus table. Use a subquery to identify the holidays and derived columns for the month and the year.
第8题:
MERGE
SELECT …CROSS JOIN
INSERT ALL …SELECT
CREATE VIEW …CONSTRAINT
第9题:
if a table is not in a cluster
if a table has an active trigger
if a table has an encrypted
if a table has a column of data type LONG defined on it
if a table has a referential integrity constraint defined on it
第10题:
when you want the data to be returned automatically in chronological order
if the application uses queries joining tables only occasionally
if the queries against the clustered table use the equality operator (=) to retrieve the desired row
if the full table scan is executed often on only one of the clustered tables
第11题:
A MERGE statement is used to merge the data of one table with data from another.
A MERGE statement replaces the data of one table with that of another.
A MERGE statement can be used to insert new rows into a table.
A MERGE statement can be used to update existing rows in a table.
第12题:
MERGE
INSERT
UPDATE
ADD
ENTER
You cannot enter the phone numbers for the existing employee records.
第13题:
You design a Business Intelligence (BI) solution by using SQL Server 2008. You create a SQL Server 2008 Integration Services (SSIS) package to perform an extract, transform, and load (ETL) process to load data to a DimCustomer dimension table that contains 1 million rows. Your data flow uses the following components: A SQL Destination data flow task to insert new customers An OLE DB Command transform that updates existing customers On average, 25 percent of existing customer records is updated each night. You need to reduce the amount of time required to update customer records. What should you do?()
第14题:
In which case would you use a FULL OUTER JOIN?()
第15题:
Which two statements are correct regarding the Flashback Versions Query feature?()
第16题:
In which scenario will you create a hash cluster?()
第17题:
An application uses Windows Azure Table storage. The application uses five tables. One table used by the application is approaching the limit for storage requests per second. You need to recommend an approach for avoiding data access throttling. What should you recommend?()
第18题:
Both tables have NULL values.
You want all unmatched data from one table.
You want all matched data from both tables.
You want all unmatched data from both tables.
One of the tables has more data than the other.
You want all matched and unmatched data from only one table.
第19题:
Create a data source view named DsvContoso that is associated with the two data sources and add the tables to the data source view.
Create a data source view named DsvContoso that is associated with the two data sources and create a named query in the data source view to merge the tables.
Create a data source view named DsvCustomer that is associated with the Contoso data source and add the CustomerDetails table to the data source view.Create a data source view named DsvCustomerContact that is associated with the ContosoCRM data source and add the CustomerContact table to the data source view.
Create a data source view named DsvCustomer that is associated with the Contoso data source and create a named query in the data source view to select data from the CustomerDetails table.Create a data source view named DsvCustomerContact that is associated with the ContosoCRM data source and create a named query in the data source view to select data from the CustomerContact table.
第20题:
Modify the UPDATE statement in the OLE DB Command transform to use the PAGLOCK table hint.
Modify the UPDATE statement in the OLE DB Command transform to use the TABLOCK table hint.
Stage the data in the data flow. Replace the OLE DB Command transform in the data flow with an Execute SQL task in the control flow.
Stage the data in the data flow. Replace the UPDATE statement in the OLE DB Command transform with a DELETE statement followed by an INSERT statement.
第21题:
if the application uses queries joining tables only occasionally
if the full table scan is executed often on only one table of the clustered tables
if the data for all the rows of a cluster key value exceeds one or two Oracle blocks
when you want the data to be returned automatically in the chronological order
第22题:
Add the ProductSize data table and the ProductSizeDescriptor column to the Product dimension. Set the order of the ProductSKU attribute to the ProductSizeDescriptor column.
Add the ProductSize data table as a dimension and then add this dimension to the cube as a Referenced dimension. Set the order of the key attribute of the ProductSize dimension to the ProductSizeDescriptor column.
Add the ProductSize data table and the ProductSizeDescriptor column to the Product dimension. Create a user-defined hierarchy that has ProductSKU as the top-level attribute and ProductSizeDescriptor as the bottom-level attribute.
Add the ProductSize data table as a dimension and then add this dimension to the cube as a Referenced dimension. Create a user-defined hierarchy within the ProductSize dimension. Set the ProductSizeDescriptor attribute as the top-level attribute.
第23题:
Drop the foreign key. Import the data by using the script. Re-create the foreign key.
Create a CHECK constraint.
Create a DML INSTEAD OF trigger that writes the failed records to a file or table.
Create a DML AFTER trigger that writes the failed records to a file or table.
第24题:
Use a single partition key for the table.
Compress data before storing it in the table.
Create additional partition keys for the table.
Continually remove unnecessary data from the table.