欢迎来到求知题库网 求知题库官网
logo
全部科目 > 微软认证考试 > MCPD > MCPD(70-583)

单项选择题

A Windows Azure application stores data in a SQL Azure database. 
The application will start an operation that includes three insert statements. 
You need to recommend an approach for rolling back the entire operation if the connection to SQL Azure is lost. 
What should you recommend?()

    A. Ensure that all statements execute in the same database transaction.
    B. Create a stored procedure in the database that wraps the insert statements in a TRY CATCH block.
    C. Create a stored procedure in the database that wraps the insertstatements in a TRANSACTION block.
    D. Open a new connection to the database. Use a separate transaction scope to roll back the original operation.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题