Click the Data Blocks node in the Object Navigator and click the create button. Choose to build the data block manually. Enter the procedure name in the Query Data Source Columns property and the procedure code in the Query Data Source Arguments property.
Choose Tools -> Data Block Wizard, select Table as the data source type, and base the data block on the columns included in the procedure.
Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Ref cursor', and enter the name of the procedure in the Query Data Source Name property.
Select the Data Blocks node in the Object Navigator and click the Create button. Alter the Query Data Source Name, Query Data Source Columns, and Query Data Source Arguments properties to create a stored procedure that uses a ref cursor.
Launch the Data Block Wizard, select Stored Procedures as the data source type, and base the block on the procedure.
第1题:
You are creating the CUST_PREMIUM data block in the AUTO_INSURANCE form. A new state law requires that premiums be lowered for drivers with a good driving history. Because this could potentially affect a large number of records, you want to base the data block on a stored procedure returning a table of records. Which statement supports this approach?()
第2题:
You are creating a stored procedure that will delete data from the Contact table in a SQL Server 2005 database. The stored procedure includes the following Transact-SQL statement to handle any errors that occur. BEGIN TRY BEGIN TRANSACTION DELETE FROM Person.Contact WHERE ContactID = @ContactID COMMIT TRANSACTION END TRY BEGIN CATCH DECLARE @ErrorMessage nvarchar(2000) DECLARE @ErrorSeverity int DECLARE @ErrorState int SELECT @ErrorMessage = ERROR MESSAGE(),@ErrorSeverity=ERROR SEVERITY(),@ErrorState = ERROR STATE() RAISERROR (@ErrorMessage, @ErrorSeverity, @ErrorState) END CATCH; You test the stored procedure and discover that it leaves open transactions. You need to modify the stored procedure so that it properly handles the open transactions. What should you do?()
第3题:
You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a stored procedure. The stored procedure implements a database maintenance process. A SQL Server Agent job should be created to that runs the stored procedure. Besides this, you must make sure that after it is completed successfully, the job is removed. What should you do? ()
第4题:
You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. According to the company requirement, the names of all user-defined stored procedures must contain the prefix usp_ on all instances. Besides this, you must make sure that stored procedures that do not contain this prefix cannot be created by you. What should you do?()
第5题:
database table
transactional trigger
stored procedure
FROM clause query
client-side procedure
第6题:
Click the Data Blocks node in the Object Navigator and click the create button. Choose to build the data block manually. Enter the procedure name in the Query Data Source Columns property and the procedure code in the Query Data Source Arguments property.
Choose Tools -> Data Block Wizard, select Table as the data source type, and base the data block on the columns included in the procedure.
Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Ref cursor', and enter the name of the procedure in the Query Data Source Name property.
Select the Data Blocks node in the Object Navigator and click the Create button. Alter the Query Data Source Name, Query Data Source Columns, and Query Data Source Arguments properties to create a stored procedure that uses a ref cursor.
Launch the Data Block Wizard, select Stored Procedures as the data source type, and base the block on the procedure.
第7题:
Add an XML index to the table that contains the product data.
Add the XSINIL argument to the ELEMENTS directive in the query.
Add a HAVING clause to the query.
Add the replace value of clause to the query.
第8题:
You should create a job which is assigned to the Database Maintenance category
You should create an Alert which will run another to delete the maintenance job.
You should create a job. You schedule the job to run only once.
You should create a job. The job uses the Automatically delete job option
第9题:
Select The Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, enter the procedure name in the Query Data Source Columns property, and the procedure code in the Query Data Source Arguments property.
Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables.
Choose Tools -> Data Block Wizard, select, View as the data source type, and base the block on the columns from the tables.
Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'FROM clause query', and enter the SELECT statement in the Query Data Source Name property.
Select the Data Block node in the Object Navigator and click the Create button. Alter the Query Data Source Type, Query Data Source Name, Query Data Sources Columns, and Query Data Source Arguments properties to create a stored procedure that uses a red cursor.
第10题:
table
transactional trigger
stored procedure
FROM clause query
第11题:
Join the two servers by using the four-part syntax of server.database.schema.table.
Reference SQL2 by using an alias.
Add SQL2 as a remote server to SQL1.
Add SQL2 as a linked server to SQL1.
第12题:
A primary XML index should be created on the XML column.
Statistics should be created on the nvarchar columns.
A view should be created, and only the four columns that the query utilizes are contained by a view.
A composite index should be created on the three nvarchar columns, and INCLUDE should be specified for the XML column.
第13题:
You are developing the Payroll application that contains the SALARY and COMMISSION forms. When a user invoked the COMMISSION form from the SALARY form, the SAL value should be passed to the COMMISSION form. In which data form and at what time should you define the parameter to accept the value?()
第14题:
You are a professional level SQL Server 2005 database administrator in an international corporation named Wiikigo. You are experienced in implementing high-availability solutions, monitoring the database server, and design deployment. In the company, you major job is the deployment, maintenance and support of Microsoft SQL Server 2005. You work as a database administrator for your company. A SQL Server 2005 application is utilized by the company. A query is executed by the application to return three columns of the nvarchar data type and one column of the XML data type. A WHERE clause is utilized by the query, and all three of the nvarchar columns are contained by the WHERE clause. 5 million rows are included by the table, and 50,000 rows are returned by the query. The performance of the query should be enhanced. Which action should be performed to achieve the goal?()
第15题:
You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object ismore than 100 KB in size when serialized.You need to minimize the amount of data is sent to the user. What should you do?()
第16题:
You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a report which is often executed during business time. There is a stored procedure that is used as the data source for the report. You get a report from users saying that they receive the data returned by the report but the data is inconsistent. As the technical support, you check and find that phantom reads cause this problem. You must make sure that consistent data is returned by the report while not affecting other users. So what action should you perform to achieve this goal?()
第17题:
the address field is computed
jim should have used a text popup
jim stored the field hint in the database
field hint only display when the user has not clicked in the field (field hint)
第18题:
Add a COMMIT TRANSACTION command to the CATCH block.
Remove the COMMIT TRANSACTION command from the TRY block.
Add a ROLLBACK TRANSACTION command to the CATCH block.
Add a ROLLBACK TRANSACTION command to the TRY block.
第19题:
SALARY form at runtime.
SALARY form at design time.
COMMISSION form at runtime.
COMMISSION form at design time.
第20题:
You should configure the database for Read Committed Snapshot isolation.
You should modify the stored procedure to use the Snapshot isolation level
You should configure the database for Auto Update Statistics asynchronously
You should modify the stored procedure to use the Repeatable Read isolation level
第21题:
A table of records is efficient in terms of network traffic.
A table of records improves developer productivity because the database administrator does not have to create a server side view.
A table of records is efficient because the number of records fetched depends on the Array Fetch property value.
Your coding effort is simplified since DML operations are handles by setting form module properties.
第22题:
Pass the object data in a hidden field.
Store the object instance in a session variable.
Use a cookie that contains the object data.
Encode the object data and pass it in a query string parameter.
第23题:
You should create a policy that targets the name of the stored procedure that is evaluated on change.
You should create a policy that targets the name of the stored procedure that is evaluated on demand.
You should create a condition that targets the name of stored procedure that is evaluated on demand.
You should create a condition that targets the name of the stored procedure that isevaluated on change.
第24题:
A policy should be created. The policy targets the name of the stored procedure that is evaluated on demand.
A policy should be created. The policy targets the name of the stored procedure that is evaluated on change.
A condition should be created. The condition targets the name of the stored procedure that is evaluated on change
A condition should be created. The condition targets the name of stored procedure that is evaluated on demand.