TAILIEUCHUNG - Microsoft SQL Server 2008 R2 Unleashed- P34

Microsoft SQL Server 2008 R2 Unleashed- P34:SQL Server 2005 provided a number of significant new features and enhancements over what was available in SQL Server 2000. This is not too surprising considering there was a five-year gap between these major SQL Server 2008 is not as much of a quantum leap forward from SQL Server 2005 | 284 CHAPTER 10 Client Installation and Configuration For VB .NET you use this Imports And for JScript .NET you use this import Note that the .NET provider supports a variety of connection string styles including ODBC OLE DB and OLE DB SNAC and you can mix and match some of their respective connection string keywords. For example Database and Initial Catalog mean the same thing to and so do Server and Data Source. But don t let this fool you Under the covers only the .NET provider is always in use. This is probably why changing the value passed to the Provider keyword seems to have no noticeable effect. Applications built on .NET Framework and can access SQL Server 2008 databases without issue. The only caveat is that those earlier versions of can t make use of certain SQL Server 2008 features such as asynchronous command execution cache synchronization bulk copy and the new data types. However implicit conversions such as from varchar to xml and from UDTs to varbinary allow their use as T-SQL input from .NET Framework applications. applications however have access to the full gamut of new functionality in SQL Server 2008. The following is an example of two connection strings in different styles that both turn on the MARS feature for applications The following is in ODBC style Driver SQL Native Client Database AdventureWorks2008 Server MyServer SQL08 Encrypt yes Trusted_Connection yes MARS_Connection yes The following is in OLE DB style Provlder SQLNCLI10 Database AdventureWorks2008 Server MyServer SQL08 Encrypt yes Trusted_Connection yes MultipleActiveResultSets true Notice the use of the keywords MARS_Connection MultipleActiveResultSets also works and Encrypt which requests connection encryption from the server . The SQLCLR Context Connection When you need to connect to SQL Server 2008 from within a managed stored procedure function or trigger known as SQLCLR code

TỪ KHÓA LIÊN QUAN
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.