TAILIEUCHUNG - The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P110

The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P110: Congratulations on your journey to become certified in SQL Server 2008. This book will help prepare you for your exam and give you a practical view of working with SQL Server 2008. | Service Broker Chapter 12 527 EXERCISE Creating Message Types Create four message types within the AdventureWorks database. Use the validation NONE for two of them and WELL_FORMED_XML for the other two. Create the Message Types based on the data shown in Table . Table Message Types and Their Validations Message Type Name Message Type Validation MT_None NONE MT _XML WELL_FORMED_XML Contracts Within the SQL SERVICE BROKER a contract defines what message types can be used on a single conversation and which side of the conversation can use which message types. Every conversation uses a single contract for the duration of the conversation. If you wish to use a different contract during an existing conversation you have to close the conversation and create a new one. When defining the contract you specify which end of the conversation can use which message type. The initiator of the contract is the sender of the message and the target of the contract is the receiver of the message. Like the Message Type the name of the contract can be up to 128 characters and is created using the AUTHORIZATION statement to assign ownership of the object to a specific user or role within the database. When naming your contract do not name the contract with the keyword ANY. If you create a contract using the keyword ANY as the name you will not be able to successfully assign priorities to the conversations using the CREATE BROKER PRIORITY command. The use of this command is outside the scope of this text however you can read more on this command in Books OnLine under the index setting CREATE BROKER PRIORITY statement. SQL SERVICE BROKER Contracts are created using the CREATE CONTRACT command. The CREATE CONTRACT command is very straightforward with few options when creating the contract. 528 Chapter 12 Service Broker CREATE CONTRACT YourApplication Contractl AUTHORIZATION dbo YourApplication YourMessageType SENT BY INITIATOR AnotherApplication AnotherMessageType SENT BY .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.