SQL Server™ 2005: CLR Integration Table of Contents

Total Page:16

File Type:pdf, Size:1020Kb

SQL Server™ 2005: CLR Integration Table of Contents SQL Server™ 2005: CLR Integration Table of Contents SQL Server™ 2005: SQL CLR Integration...................................................................................................................3 Lab Setup.......................................................................................................................................................................4 Exercise 1 Working with SQL Server Projects..............................................................................................................5 Exercise 2 Leveraging the .NET Framework in Database Development ....................................................................10 Exercise 3 Understanding Managed Code Permissions...............................................................................................13 Exercise 4 Creating User-Defined Types and User-Defined Aggregates....................................................................17 Exercise 5 Comparing and Contrasting T-SQL and Managed Code ...........................................................................32 Exercise 6 Exploring New Features in ADO.NET ......................................................................................................35 SQL Server™ 2005: CLR Integration SQL Server™ 2005: SQL CLR Integration After completing this lab, you will be able to work with SQL Objectives Server Projects, work with the in-process managed provider, NOTE: This lab focuses on the leverage the .NET Framework in database development, concepts in this module and as a understand managed code permissions, create triggers using result may not comply with managed code, create user-defined types and user-defined Microsoft® security aggregates, compare and Contrast T-SQL to managed code, recommendations. and explore new features in ADO.NET. NOTE: The SQL Server 2005 labs are based on beta builds of the product. The intent of these labs is to provide you with a general feel for some of the planned features in the next release of SQL Server. As with all software development projects, the final version may differ from beta builds in both features and user interface. For the latest details on SQL Server 2005, please visit http://www.microsoft.com/sql/2005/. Scenario Prerequisites 90 Minutes Estimated Time to Complete This Lab Page 3 of 38 SQL Server™ 2005: CLR Integration Lab Setup Scenario Tasks Detailed Steps Task 1: Log In Log in using the Administrator user account. The password is Pass@word1. Page 4 of 38 SQL Server™ 2005: CLR Integration Exercise 1 Working with SQL Server Projects In this exercise, you will learn how to work with Microsoft Visual Studio® 2005 and Microsoft SQL Server 2005 in tandem by creating a SQL Server project and a basic user-defined function whose implementation is in managed code. Then you will build a Microsoft Windows® Form application that displays the result returned from the user-defined function. The goal of this exercise is to lay a foundation for subsequent exercises by introducing how Visual Studio 2005 and Microsoft SQL Server 2005 work together. NOTE: Long code snippets are available in the file C:\SQL Labs\Lab Projects\SQL CLR\SQL CLR Lab Code.txt for your convenience. Tasks Detailed Steps Task 1: Creating a 1. Start Visual Studio 2005. SQL Server 2. Select the File | New | Project menu command. Project Visual Studio displays the New Project dialog. 1. In the Project Types pane, indicate that you want to create a Visual Basic project. Expand the node for Visual Basic and select the Database node. 2. In the Templates pane, select SQL Server Project. 3. In the Name field, enter SqlServerProject. 4. In the Location field, enter C:\SQL Labs\User Projects\. 5. Uncheck the Create directory for solution option. 6. Click OK. Visual Studio displays the New Database Reference dialog box (as shown in Figure 1). Page 5 of 38 SQL Server™ 2005: CLR Integration Tasks Detailed Steps Figure 1: The New Database Reference dialog box A SQL Server project is associated with a specific database. This dialog box lets you select the database to which you will be deploying managed code. Database References are shown in the Solution Explorer and become part of the Visual Studio 2005 environment. As you open and close different projects, Database References are saved so they can be reused. Task 2: Creating a 1. In the server name field, enter “localhost”. Database 2. Select Use Windows NT Integrated security. Reference 3. In the database field, enter “SQLCLRIntegration”. 4. Click the Test Connection button. 5. Click OK to dismiss the Add Database Reference dialog box. Upon clicking OK, a dialog box like Figure 2 will be displayed: Figure 2: Debugging Warning 6. Click Yes so that debugging will be enabled. Task 3: Using a User- 1. In the Solution Explorer, right-click SqlServerProject and select Add | New Item from the context menu. Defined Function Template 2. In the Add New Item dialog box, click User-Defined Function. 3. Click Add to accept the default file name. In SQL Server, a user-defined function is similar to a function in other programming languages. Unlike a stored procedure, which can return only an integer or result set, a user-defined function can return a variety of data types. You also can treat a user-defined function similarly to a table or view, issuing SELECT statements directly against the function. In prior versions of SQL Server, you could only create a user-defined function using T-SQL. With Microsoft SQL Server 2005, you can now create user-defined functions using managed code. Visual Studio includes a pre-defined template to use in your SQL Server Projects to make the process easier. 4. In the Solution Explorer, open the TestScripts folder, right-click test.sql and select Open. Notice that when you used the User-Defined Function template, Visual Studio automatically added an additional file to your project named test.sql. You can use the script in test.sql for debugging your code. You modify this script to call your code so that it can be debugged. Page 6 of 38 SQL Server™ 2005: CLR Integration Tasks Detailed Steps 5. In the Solution Explorer, right-click Function1.vb and select View Code. You’ll notice that an example function has already been defined. You can remove it or leave it. 6. In the Code Editor, before the End Class statement, type the following code: <Microsoft.SqlServer.Server.SqlFunction()> _ Public Shared Function GetTodaysDate As Date Return Date.Today End Function 7. In the Solution Explorer, right-click test.sql and select Open. 8. Replace the line select 'put your test script here' (located at the bottom of the file) with the following text: select dbo.GetTodaysDate() Task 4: Using a User- 1. In the Solution Explorer, right-click SqlServerProject and select Deploy. Defined Function Before an assembly can be used by a database, it must first be deployed Template to the database server. Visual Studio 2005 makes deploying an assembly to Microsoft SQL Server 2005 easy to do. Just by right-clicking the project name in the Solution Explorer and selecting the Deploy menu item, Visual Studio 2005 automatically builds and deploys your assembly to SQL Server 2005. The assembly is also deployed and debugged simply by pressing F5. 2. Once the deployment process has completed, press F5. However, there are two problems. The first is that the code just appears to execute and return. In order to debug, place a breakpoint in the Function1.vb file where your function is defined. 3. Next, in order to get managed code to run, you need to enable the CLR for the database. From the Windows task bar, select Start | All Programs | Microsoft SQL Server 2005 CTP | SQL Server Management Studio. 4. When the Connect to Server dialog box opens, verify that SQL Server is selected as the Server type, verify that Server name is same name as the host machine or set it to localhost, and verify that Windows Authentication is selected as the authentication method. 5. Click Connect. 6. Open a new query window by via File | New | New Database Engine Query. When prompted, click Connect in the Connect to Database Engine dialog box. 7. In the editor, enter the following T-SQL: sp_configure 'clr enabled', 1 8. Press F5 to execute the query. Then enter the following: reconfigure; Page 7 of 38 SQL Server™ 2005: CLR Integration Tasks Detailed Steps 9. Highlight the new line and press F5. 10. Close SQL Server Management Studio (there’s no need to save anything if prompted). 11. Now, back in Visual Studio, Press F5. 12. Once you hit your breakpoint, press F5 to continue. 13. In the Output window, in the Show output from drop-down list, select Debug. You can see that the output from the user-defined function is displayed in the Output window, allowing you to fully test your managed routines without leaving Visual Studio 2005. Note that you can make it easier to see your output by right-clicking in the Output window and de-selecting all of the output options except for Program Output (see Figure 3). If you re-run your project, you see much less information displayed. Figure 3: Controlling output window information Task 5: Accessing a 1. Select the File | Add | New Project menu command. User-Defined 2. If prompted to save the existing project, select the C:\SQL Labs\User Projects Function from a folder. Windows 3. In the Project Types pane, select Visual Basic. Application 4. In the Templates list, select Windows Application. 5. In the Name field, enter: SqlServerProjectWinApp. In the Location field, enter NOTE: If the Toolbox C:\SQL Labs\User Projects\. window isn’t visible, 6. Click OK to dismiss the dialog box. select View | Toolbox to display it. 7. Right-click on SqlServerProjectWinApp in the Solution Explorer and select Project | Add Reference. Scroll the list of components until you find NOTE: You might need System.Data. Select it and then click OK to accept the new reference. to expand the Common 8. From the Toolbox, drag a Button control to the design surface of Form1. Controls group to see 9. Double-click Button1. the Button control on the Toolbox. 10. Scroll to the top of the code file, and enter the following Imports statement: Imports System.Data.SqlClient 11.
Recommended publications
  • Marian Placko Solutions Architect (DB/BI/DW/EDH-DL) at UNIQA GSC Slovakia
    Marian Placko Solutions Architect (DB/BI/DW/EDH-DL) at UNIQA GSC Slovakia Phone: 00421904206046 Address: Gorazdova 449/10 Nitra 94901 Slovak Republic Website: http://www.placko.eu/ Email: [email protected] A keen enthusiast in database systems (RDBMS, DW/BI, CloudDB, NoSQL and BigData Hadoop: DataLake/DataHub) as well as application development (based on .NET/C#, HTML/CSS/JS and Java-BigData related frameworks) following OOP/programming patterns in general. I am focused on BigData Hadoop platform Cloudera/Talend and data warehousing/business intelligence (Bill Inmon/Ralph Kimball methodology; SQL Server: database, integration, reporting, analysis services and data mining) as well as .NET/SharePoint (WinForms, ASP.NET WebForms/MVC, WebAPI etc.), workflow processes (.NET WF/WFS) and web services/WCF (SOAP, REST and GraphQL). Also fascinated with mobile development (Xamarin). Motto: “There are not bad and good technologies! Technologies are only improperly and properly implemented.” EXPERIENCE UNIQA GSC Slovakia (InsData, spol. s r. o.) Jun 2016 to Present Solutions Architect (DB/BI/DW/EDH-DL) Job description: # creation of demand solution concepts (incl. UML; mainly for DB/BI/DW/EDH-DL platforms: MS SQL Server, SAS, WebFocus, Cloudera Hadoop and Talend ETL/ELT/ESB) # creation of firewall rules (incl. infrastructure support) # solutions design and evaluation of technologies: ## ETL/ELT: Informatica, Talend and Apache Hadoop/MS SQL Server 2016+ Polybase ## NoSQL: MongoDB (incl. Docker, Azure and mLab) ### Big data introduction (https://placko.wordpress.com/2016/11/29/big-data-introduction/) ## BigData: Apache Hadoop platform - http://hadoop.apache.org/ and https://projects.apache.org/projects.html?category#big- data (incl.
    [Show full text]
  • Microsoft SQL Server CLR Types Serialization Formats
    [MS-SSCLRT]: Microsoft SQL Server CLR Types Serialization Formats Intellectual Property Rights Notice for Open Specifications Documentation . Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages, standards as well as overviews of the interaction among each of these technologies. Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other terms that are contained in the terms of use for the Microsoft website that hosts this documentation, you may make copies of it in order to develop implementations of the technologies described in the Open Specifications and may distribute portions of it in your implementations using these technologies or your documentation as necessary to properly document the implementation. You may also distribute in your implementation, with or without modification, any schema, IDL's, or code samples that are included in the documentation. This permission also applies to any documents that are referenced in the Open Specifications. No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation. Patents. Microsoft has patents that may cover your implementations of the technologies described in the Open Specifications. Neither this notice nor Microsoft's delivery of the documentation grants any licenses under those or any other Microsoft patents. However, a given Open Specification may be covered by Microsoft Open Specification Promise or the Community Promise. If you would prefer a written license, or if the technologies described in the Open Specifications are not covered by the Open Specifications Promise or Community Promise, as applicable, patent licenses are available by contacting [email protected]. Trademarks. The names of companies and products contained in this documentation may be covered by trademarks or similar intellectual property rights.
    [Show full text]
  • How to Debug CLR UDF, CLR UDT, CLR
    To debug a SQL CLR user-defined scalar function 1. In a new SQL Server project, establish a connection to the AdventureWorks sample database. For more information, see How to: Connect to a Database . 2. Create a new function using the code from the first example section below, and name it OrderCount.cs. For more information, see How to: Develop with the SQL Server Project Type . 3. Add a script that tests the function by including it in a SELECT statement. In Solution Explorer, right-click the TestScripts directory, click Add Test Script, and insert the code from the second Example section below. Save the file with the name CallOrderCount.sql. Right-click the file name, and choose Set as Default Debug Script. 4. Place a breakpoint in OrderCount.cson the line that instantiates a SqlCommand, and then on the Debug menu, click Start to compile, deploy, and unit-test the project. When the instruction pointer, designated by a yellow arrow, appears on the breakpoint, you are debugging your function. 5. Try out different debugging features. 1. Step past the statement instantiating the SqlCommand using Step Into from the Debug menu. 2. In the Locals window, open the variable sqlComm, which is a SqlCommand, and examine its members. 3. Click Step Into on the Debug menu to step one line in the function. Note that the member sqlComm.CommandText has been instantiated. 4. In the Text Editor, drag sqlComm to any location in the Watch window. The variable is now added to the list of watched variables. 5. Choose Step Into again, and note that a new window labeled Dynamic T- SQL opens, displaying the SQL statement that is about to be executed.
    [Show full text]
  • Proceedings Template
    An Extensible Test Framework for the Microsoft StreamInsight Query Processor Alex Raizman1, Asvin Ananthanarayan1, Anton Kirilov1, Badrish Chandramouli2, Mohamed Ali1 1Microsoft SQL Server, {alexr, asvina, antonk, mali }@microsoft.com 2Microsoft Research, {badrishc}@ microsoft.com ABSTRACT Microsoft StreamInsight (StreamInsight, for brevity) is a platform 1. INTRODUCTION Recent advances in sensor network technologies, GPS devices, for developing and deploying streaming applications. RFIDs, and wireless communications have resulted in wide- StreamInsight adopts a deterministic stream model that leverages spread real-time stream data acquisition. Example data streaming a temporal algebra as the underlying basis for processing long- applications include network monitoring, web-click analytics, running continuous queries. In most streaming applications, telecommunications data management, intrusion detections, continuous query processing demands the ability to cope with manufacturing, geosensing, traffic management, and online stock high input rates that are characterized by imperfections in event trading. While the amount of streamed data acquired from sensors delivery (i.e., incomplete or out-of-order data). StreamInsight is has increased substantially, the inability to process, mine, and architected to handle imperfections in event delivery, to generate analyze this data in a timely manner prevented researchers from real-time low-latency output, and to provide correctness making full use of the incoming stream data. Consequently, an guarantees on the resultant output. ongoing effort in both research and industry has been established On one hand, streaming operators are similar to their well- to develop data stream systems that are capable of processing understood relational counterparts - with a precise algebra as the hundreds of thousands of events per second. basis of their behavior.
    [Show full text]
  • LINQ to SQL – Mapping & Translation
    LINQ To SQL Mapping & Translation LINQ to SQL – Mapping & Translation Table of Contents INTRODUCTION.......................................................................................................................... LINQ TO SQL TYPES..................................................................................................................... SQL‐CLR TYPE MAPPING ............................................................................................................. TYPE MAPPING RUN TIME BEHAVIOR MATRIX ................................................................................... ENUM MAPPING ............................................................................................................................ DATETIME MAPPING ....................................................................................................................... XML TYPE MAPPING....................................................................................................................... DECIMAL AND MONEY MAPPING ....................................................................................................... FLOATING POINT TYPES ................................................................................................................... BINARY AND STRING SERIALIZATION .................................................................................................... BOOLEAN DATA TYPES (LINQ TO SQL) .............................................................................................. UNSUPPORTED
    [Show full text]
  • NET CLR Framework
    .NET CLR Framework Unmanaged Hosts - Assembly Access ptrex 8/08/2017 .NET CLR Framework WHAT : is .NET Common Language Runtime (CLR) Framework • The Common Language Runtime (CLR) is a an Execution Environment. Common Language Runtime (CLR)'s main tasks are to convert the .NET Managed Code to native code, manage running code like a Virtual Machine, and also controls the interaction with the Operating System. • As part of Microsoft's .NET Framework, the Common Language Runtime (CLR) is managing the execution of programs written in any of several supported languages. Allowing them to share common object- oriented classes written in any of the languages. ptrex 8/08/2017 .NET CLR Framework WHAT : is .NET Common Language Runtime (CLR) Framework • The Common Language Runtime (CLR) has the following key components in .NET • Automatic Memory Management • Garbage Collection • Code Access Security • Code Verification • JIT Compilation of .NET code For more details see here : http://www.csharpstar.com/top-20-dotnet-framework-interview-questions/ ptrex 8/08/2017 .NET CLR Framework HOW : To access the CLR environment. You need to create an Appdomain Object in your unmanaged environment, An Appdomain provides an isolated region in which code runs inside of an existing process. • Application domains provide an isolation boundary for security, reliability, and versioning, and for unloading assemblies. Application domains are typically created by runtime hosts, which are responsible for bootstrapping the common language runtime before an application is run. • In AutoIT you can call the _CLR_GetDefaultDomain() function which is located in the CLR UDF ptrex 8/08/2017 .NET CLR Framework WHAT : is a .NET Appdomain • AppDomain is designed to be called by unmanaged code, and it allows a host to inject an assembly in the current process.
    [Show full text]
  • The Data Exploration System for Image Processing Based on Server-Side Operations Magdalena Ładniak, Adam Piórkowski, Mariusz Mlynarczuk
    The Data Exploration System for Image Processing Based on Server-Side Operations Magdalena Ładniak, Adam Piórkowski, Mariusz Mlynarczuk To cite this version: Magdalena Ładniak, Adam Piórkowski, Mariusz Mlynarczuk. The Data Exploration System for Image Processing Based on Server-Side Operations. 12th International Conference on Information Systems and Industrial Management (CISIM), Sep 2013, Krakow, Poland. pp.168-176, 10.1007/978-3-642- 40925-7_17. hal-01496063 HAL Id: hal-01496063 https://hal.inria.fr/hal-01496063 Submitted on 27 Mar 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Distributed under a Creative Commons Attribution| 4.0 International License The data exploration system for image processing based on server-side operations MagdalenaLadniak,Adam Pi´orkowski, and Mariusz M lynarczuk Department of Geoinformatics and Applied Computer Science, AGH University of Science and Technology, al. Mickiewicza 30, 30-059 Cracow, Poland, [email protected], [email protected], [email protected] http://www.geoinf.agh.edu.pl Abstract. In this paper the possibilities for construction of an ad hoc search system to examine large-sized raster image data sets, e.g. rock images or medical images, for analysis of its characteristic parameters are presented.
    [Show full text]
  • Microsoft Visual Studio What Is VISUAL STUDIO
    Microsoft Visual Studio What is VISUAL STUDIO .... Microsoft Visual Studio is an Integrated Development Environment (IDE) from Microsoft. It can be used to develop console and graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silverlight. Visual Studio includes a code editor supporting IntelliSense as well as code refactoring. The integrated debugger works both as a source-level debugger and a machine-level debugger. Other built-in tools include a forms designer for building GUI applications, web designer, class designer, and database schema designer. It allows plug-ins to be added that enhance the functionality at almost every level - including adding support for source control systems (like Subversion and Visual SourceSafe) to adding new toolsets like editors and visual designers for domain-specific languages or toolsets for other aspects of the software development lifecycle (like the Team Foundation Server client: Team Explorer). Visual Studio supports languages by means of language services, which allow any programming language to be supported (to varying degrees) by the code editor and debugger, provided a language- specific service has been authored. Built-in languages include C/C++ (via Visual C++), VB.NET (via Visual Basic .NET), and C# (via Visual C#). Support for other languages such as F#, M, Python, and Ruby among others has been made available via language services which are to be installed separately. It also supports XML/XSLT, HTML/XHTML, JavaScript and CSS.
    [Show full text]
  • Micro Focus Visual COBOL 2010 R4 for Visual Studio Update 1
    Micro Focus Visual COBOL 2010 R4 for Visual Studio Update 1 Release Notes Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright © Micro Focus IP Development Limited 2009-2011. All rights reserved. MICRO FOCUS, the Micro Focus logo and Visual COBOL are trademarks or registered trademarks of Micro Focus IP Development Limited or its subsidiaries or affiliated companies in the United States, United Kingdom and other countries. All other marks are the property of their respective owners. 2011-09-09 ii Contents Micro Focus Visual COBOL 2010 R4 for Visual Studio Update 1 Release Notes .............................................................................................................................5 System Requirements for Visual COBOL for Visual Studio ...........................6 Installing Visual COBOL for Visual Studio ......................................................7 Licensing Information ........................................................................................9 What's New .......................................................................................................10 Features Added in Visual COBOL 2010 R4 ......................................................................10 ACUCOBOL-GT Compatibility ...............................................................................10 ADO.NET Runtime Improvements .........................................................................11 Creating Projects from Selected Files ....................................................................11
    [Show full text]
  • Online Student Profile Management System
    ONLINE STUDENT PROFILE MANAGEMENT SYSTEM by GREESHMA MALGIREDDY B.Tech., Jawaharlal Nehru Technological University, 2007 A REPORT submitted in partial fulfillment of the requirements for the degree MASTER OF SCIENCE Department of Computing and Information Sciences College of Engineering KANSAS STATE UNIVERSITY Manhattan, Kansas. 2010. Approved by: Major Professor Dr. Daniel Andresen. Abstract All the students who are enrolled in Computing and Information Sciences (CIS) major in Kansas State University are required to submit their Program of Study (POS) which they manually do by filling in all the necessary details and submit the form to the department. The main objective of this project is to develop an online submission of program of study. The online student profile management system is a web-based application that provides students of CIS major to submit their program of study in an easy and efficient manner. This application mainly allows the students to enter their personal information (viz., contact information, previous education) and to choose core as well as non-core courses of their choice. In addition the faculty of CIS department can also log on to the application and view the POS of the students by entering their wildcat ID. The primary focus is to get familiar with .NET framework and to code in C#.NET. This in turn uses MS SQL server 2005 as database for storing and retrieving of data. This project is implemented using C#.NET on Microsoft visual studio 2005. Table of contents List of Figures ................................................................................................................................
    [Show full text]
  • Sample Content from Programming Microsoft SQL Server 2005
    Programming Microsoft® SQL Server™ 2005 Andrew J. Brust, Stephen Forte To learn more about this book, visit Microsoft Learning at http://www.microsoft.com/MSPress/books/9153.aspx 9780735619234 Publication Date: December 2004 A05T619239.fm Page vii Tuesday, May 31, 2005 9:13 PM Table of Contents Acknowledgements . xix Introduction . xxiii Who This Book Is For . xxiv How This Books is Organized . xxv System Requirements. xxvi Using the Samples . xxvii Support for This Book . xxix Questions and Comments. xxix Part I Design Fundamentals and Core Technologies 1 Overview . .3 A Tough Act to Follow . .3 The Software Industry and Disruptive Change . 3 Industry Trends, SQL Server Features, and a Book to Show You the Way . 4 Programming the Server. 4 Application Code and SQL Server: Extending Your Database’s Reach . 5 It’s the Strategy, Stupid . 7 A Collaborative Effort for, and by, Developers. 9 2 Exploring the T-SQL Enhancements in SQL Server 2005 . 11 Introducing SQL Server Management Studio . 12 Common Table Expressions. 13 Recursive Queries with CTEs . 16 The PIVOT and UNPIVOT Operators . 20 Using UNPIVOT . 21 Dynamically Pivoting Columns. 22 The APPLY Operator. 24 TOP Enhancements . 25 Ranking Functions . .26 ROW_NUMBER(). 26 RANK() . 30 DENSE_RANK() and NTILE(n) . 32 Using All the Ranking Functions Together . 34 Ranking over Groups: PARTITION BY . 35 Microsoft is interested in hearing your feedback about this publication so we can What do you think of this book? continually improve our books and learning resources for you. To participate in a brief We want to hear from you! online survey, please visit: www.microsoft.com/learning/booksurvey/ vii A05T619239.fm Page viii Tuesday, May 31, 2005 9:13 PM viii Table of Contents Exception Handling in Transactions .
    [Show full text]
  • SQL Server 2014 Upgrade Technical Guide
    SQL Server 2014 Upgrade Technical Guide Writers: Ron Talmage, Richard Waymire, James Miller, Vivek Tiwari, Ken Spencer, Paul Turley, Danilo Dominici, Dejan Sarka, Johan Åhlén, Nigel Sammy, Allan Hirt, Herbert Albert, Antonio Soto, Régis Baccaro, Milos Radivojevic, Jesús Gil, Simran Jindal, Craig Utley, Larry Barnes, Pablo Ahumada Published: December 2014 Applies to: SQL Server 2014 Summary: This technical guide takes you through the essentials for upgrading SQL Server 2005, SQL Server 2008, and SQL Server 2008 R2 instances to SQL Server 2014. Copyright This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2014 Microsoft. All rights reserved. SQL Server 2014 Upgrade Technical Guide 2 Contents SQL Server 2014 Upgrade Technical Guide ........................................................ 1 Copyright .......................................................................................................................................... 2 Introduction ......................................................................................................... 17 Executive Summary ............................................................................................. 18 Planning the Upgrade ..............................................................................................................
    [Show full text]