Comparing SQL Server 2005 and IBM DB2 v8.2 as a Database Platform for Visual Studio and.net Developers

Size: px
Start display at page:

Download "Comparing SQL Server 2005 and IBM DB2 v8.2 as a Database Platform for Visual Studio and.net Developers"

Transcription

1 Comparing SQL Server 2005 and IBM DB2 v8.2 as a Database Platform for Visual Studio and.net Developers Revision 1.0 October, 2004

2 The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. This White Paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. Unless otherwise noted, the example companies, organizations, products, domain names, addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, address, logo, person, place, or event is intended or should be inferred Microsoft Corporation. All rights reserved. Active Directory, Microsoft, Visual Basic, Visual C++, Visual C%, Visual Studio, Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

3 Contents Contents 2 Abstract 5 Summary of Study Results 5 Introduction 6 Comparison of Core Technologies 6 Data Providers...7.NET Framework Integration...8 Implications of the Hosting Model...9 Differences Between.NET 2.0 and.net Deploying.NET Logic to SQL Server Securing Assemblies in SQL Server Deploying.NET Logic to DB Visual Studio and SQL Server 2005 Integration Visual Studio and DB2 UDB 8.2 Integration Manageability and Performance Technical Walkthrough 17 Description of SQL Server 2005 CLR Stored Procedure 17 Building a Stored Procedure with SQL Server and Visual Studio Summary of Steps in Development Process Tools Integration Description of a DB2 CLR Stored Procedure 30 Building a Stored Procedure with DB2 and Visual Studio 32 Summary of Steps in Development Process Tools Integration Summary Comparison of the Developer Experience 41 Beyond the Relational Database 42 HTTP Endpoints Service Broker Notification Services Reporting Services Integration Services Analysis Services Mobile Edition... 44

4 Conclusion 45 About the Authors... 46

5 Abstract This study compares and contrasts SQL Server 2005 with DB2 UDB v8.2, from the perspective of a Visual Studio 2005 developer. The study compares the core technologies used by both SQL Server 2005 and DB2 UDB 8.2, such as.net Framework integration, support for language and other enhancements, and performance and manageability. The study then follows the steps necessary to build, debug, and deploy a stored procedure using SQL Server These steps are then compared to the steps required to build, debug, and deploy the same stored procedure using DB2. The intended audience for this article includes architects, developers, and technology decision-makers. Summary of Study Results The study shows that the combination of SQL Server 2005 (code named Yukon ) and Visual Studio offers significant advantages over DB2 UDB 8.2 (code named Stinger ) and Visual Studio for building database applications. These advantages will save organizations both time and money as they develop, debug, and deploy database solutions within their organizations. Specifically, this study demonstrates that SQL Server 2005 supports a significantly wider range of.net database objects than DB2 UDB 8.2. Additionally, the SQL Server 2005 and Visual Studio combination provides a much deeper level of integration than the combination of DB2 UDB 8.2 and Visual Studio for building and managing database objects. The study also demonstrates that beyond the relational database development capabilities, SQL Server 2005 offers an application development platform that extends beyond the capabilities offered by DB2 UDB 8.2.

6 Introduction In the past, the IT development world consisted of isolated lands of proprietary knowledge of application development languages, production environments, and data manipulation routines. Building bridges between these islands of technology often required specialized skills and was labor intensive. Today, with SQL Server 2005 and Visual Studio 2005, we see a unified development environment that includes programming models that span a broad range of software solutions from client-based database applications and server management utilities to the creation of server-side database objects. Developers and customers alike receive the benefits of enhanced tools and framework functionality, which translates to a global increase in application usability, performance, security, and scalability. The integration of the Visual Studio environment and the database data providers that are found in SQL Server 2005 and DB2 8.2 simplify and improve the application development process. They offer enhanced productivity tools for building and deploying application programs resulting in better performance, both in development time and application manageability. Both SQL Server 2005 s and DB2 UDB 8.2 s integration with the.net Framework produce a more productive and flexible database application development environment that results in better performing, more robust database solutions that possess better manageability and scalability than any of the previous versions. By taking advantage of.net integration, database developers are able to perform tasks that were impossible to achieve using just procedural SQL code. Using the.net Framework, developers can write code that has more complex logic, is better suited to computation problem solving, and can access external system and network resources. The.NET languages like Visual Basic, C# and C++ are all fully objectoriented languages with capabilities such as encapsulation, inheritance, and polymorphism. They also provide full support for a number of features that aren t present in SQL like support for arrays, structured exception handling, and collections. Microsoft.NET delivers the most advanced and productive environment for building and integrating database applications today. In this study, we will compare the different levels of.net integration provided by SQL Server 2005 and DB2 UDB 8.2. To illustrate the exact nature of each of the different product s integration capabilities, we provide a detailed technical walkthrough showing the exact steps required to build a sample.net stored procedure using both SQL Server 2005 and DB2 UDB 8.2 with Visual Studio. Comparison of Core Technologies While both SQL Server 2005 and DB2 UDB 8.2 are integrated with the.net Framework and Visual Studio, there are some significant differences in the respective level of integration provided by these products. The following table presents the major comparison points for the two database platforms with regard to the level of their.net integration..net Capabilities SQL Server 2005 DB2 UDB 8.2 Native.NET Data Provider Yes (SQL Server.NET Yes (DB2.NET Data

7 Data Provider) Provider).NET Stored Procedures Yes Yes.NET User Defined Functions Yes Yes (requires manual creation).net Triggers Yes No.NET User Defined Types Yes No.NET User Defined Aggregates Yes No Visual Studio tooling Yes Yes Data Providers Both SQL Server 2005 and DB2 UDB 8.2 provide native.net Data Providers that enable.net client applications to access the database platform. These native providers offer higher performance and better scalability for server applications, as compared to providers based on OLE DB. These two providers offer very similar capabilities. Both providers implement the basic ADO.NET Connection, Command, DataReader, DataSet and DataAdapter objects. One key difference: the SQL Server.NET Data Provider is made available in two modes, one for client applications and one for server applications. This is particularly important for server side development because the SQL Server server-side.net Data Provider is an in-memory provider that doesn t have the networking overhead that s associated with client-side data access providers. Being an in-memory provider provides higher performance for.net database objects. In addition, the separate server side provider exposes a set of capabilities such as server-side cursors that are only appropriate for server-based code. The provider for client applications is exposed via the System.Data.SqlCient namespace while the.net Data Provider for server side database objects is found in the System.Data.Sqlserver namespace. For DB2 UDB 8.2 there is the single IBM.Data.DB2 namespace. The DB2.NET Data Provider uses the DB2Context object to create an in-memory connection to the database. On the server side, again there are similarities. Both DB2 and SQL Server support the creation and subsequent server-side deployment of application logic in.net languages. Beyond this basic concept, the level of.net integration with the two database platforms is quite different. DB2 UDB 8.2 supports the creation of.net stored procedures and user defined functions. However, only the creation of DB2 UDB 8.2.NET Stored Procedures is supported in the Visual Studio IDE. DB2 UDB.2.NET Functions must be created manually. In contrast, SQL Server 2005 provides much broader support for.net. Like DB2, SQL Server supports the creation of.net stored procedures and user defined functions. However, SQL Server also supports.net for use within triggers, user defined types (UDT s), and user defined aggregates. The creation of all of these objects is fully integrated within the Visual Studio 2005 IDE. The ability to build stored procedure and functions using the.net languages enables the database developer to implement business logic and perform complex functions that are beyond the capabilities of standard SQL. This is certainly a key point for.net interaction with the database, but the ability to use the.net languages to create triggers, user defined types, and

8 aggregates are just as important. Using.NET for triggers enables the trigger code to more fully encapsulate business logic and perform additional actions such as accessing external resources for logging operations. The ability to create user defined types enables the database developer to extend the native data types that are supplied with the system. UDT s defined with.net can have their own properties and operators enabling the developer to seamlessly extend the native data types that are supported by the server. These UDTS can function exactly like native data types having their own customer operators and aggregates. Similarly, the ability to support user defined aggregates enables the developer to create custom aggregation operators that can be used with either native or user defined data types. Beyond the basic set of.net features provided, there are important differences in the way that the.net Framework is integrated with the respective database servers. The next section will discuss the.net integration details in more depth..net Framework Integration Microsoft.NET is a set of Microsoft software technologies for connecting information, people, systems, and devices. The.NET Framework is an integral Windows component for building and running the next generation of software applications and Web services. The.NET Framework: Supports over 20 different programming languages. Manages much of the plumbing involved in developing software, enabling developers to focus on the core business logic code. Makes it easier than ever before to build, deploy, and administer secure, robust, and high-performing applications. The.NET Framework consists of the common language runtime (CLR), and a unified, factored, hierarchical set of class libraries. The.NET CLR s responsibilities include runtime services for language integration, security enforcement, and management of memory, processing, and threading. In the area of language integration, the CLR defines the common type system (CTS), which describes the basic data types common across all.net languages, and the operations that pertain to those data types. The.NET Framework provides an extensive set of classes that developers can incorporate into their applications, covering areas such as I/O, networking, text processing, data access, encryption, XML processing, Web services, and more. This allows developers to focus on building business logic rather than plumbing code. The integration of the.net CLR with both SQL Server 2005 and DB2 UDB 8.2 enables the development of database objects using any of the.net languages including C#, Visual Basic, C++, and J#. The manner in which the two different platforms are integrated with the.net Framework is quite different. The SQL Server 2005 database engine hosts the CLR inprocess. This means that there is only a single operating system process that runs both the database engine and the.net runtime. In contrast, DB2 UDB 8.2 uses an out-ofprocess model for.net integration. You can see a visual depiction of the different database CLR implementations in Figure 1.

9 Figure 1 - Database CLR Integration Implications of the Hosting Model An in-process model to host the.net runtime offers SQL Server 2005 several distinct advantages over an out-of-process model. First, hosting the CLR in-process enables SQL Server to control the execution of the CLR in various important ways. The vital functions of memory management, garbage collection, and thread support are under the control of the SQL Server host, rather than using.net s default settings and behavior. This is important because the SQL Server database engine has a better view of the system requirements as a whole, which enables it to optimize the management of memory and threads. The end result is that SQL Server 2005 hosting the CLR in-process creates a more robust and scalable solution. For example, consider a database instance that is heavily loaded, responding to many requests concurrently and over a long period. SQL Server can automatically and intelligently balance between allocation of memory to data stores versus program logic (for example,.net stored procedures). When the load on the system changes in some qualitative way for example, relatively more requests utilize more application logic SQL Server can re-balance automatically. The performance of the system is continually optimized for real-world scalability and reliability. Because DB2 UDB v8.2 hosts the.net runtime out of process, DB2 is not able to provide this sort of optimization and dynamic balancing of machine resources. The CLR hosting APIs used by SQL Server 2005 to perform this dynamic optimization are available in version 2.0 of the.net Framework, but they are not present in earlier versions of the.net Framework. As a result, SQL Server 2005 requires the.net Framework 2.0 while DB2 with its lower level of integration utilizes version 1.1 of the.net Framework. Differences Between.NET 2.0 and.net 1.1 Using the.net Framework 2.0 provides the combination of SQL server 2005 and Visual Studio 2005, offering some significant advantages over the.net Framework 1.1 that s used with DB2 UDB 8.2. The.NET Framework 2.0 has a number of significant enhancements including:

10 Improved performance and load time Support for Generics (classes and methods that work uniformly on values of different types, thereby improving code reuse) Edit-and-Continue support that enables changing during execution without requiring a full recompilation A new Data Protection API (DPAPI) enables application to encrypt sensitive information like connection strings and even blocks of memory The authenticated streams feature uses the new NegotiateStream and SslStream classes to secure information sent between a client and a server COM Interoperability improvements give.net applications better performance and more reliability when calling existing COM objects Improved I/O support plus support for GZIP data compression 64-bit application compatibility Deploying.NET Logic to SQL Server The way in which each database platform actually uses the.net objects is also quite different. With SQL Server 2005, a new SQL Server database object called an assembly is the unit of deployment for.net artifacts, such as triggers or stored procedures, with the database. Assemblies are a unit of deployment for.net logic. To create CLR database objects you must first create a DLL using Visual Studio Then that DLL is imported to SQL Server as a database assembly object. These steps can be performed manually, using command-line compilers and the CREATE ASSEMBLY command, or as you ll see in the Detailed Walkthrough section, Visual Studio 2005 can automate this entire process. Securing Assemblies in SQL Server For SQL Server 2005, the database assembly provides a new unit of security for the database administrator. Assemblies can be marked in one of three security types: SAFE, EXTERNAL, or UNSAFE. These security designations enable the database administrator to manage and secure all of the.net code that runs inside the database at the assembly level. The SAFE designation indicates that the assembly only uses managed code and it accesses no resources outside the database. The EXTERNAL designation is used for managed code that accesses external resources such as the file system or the network in addition to database resources. The UNSAFE designation applies to assemblies that can contain managed and/or unmanaged code and that have the ability to access any internal or external resources. Database objects that are created using UNSAFE assemblies can only be executed by users who have systems administrator rights.

11 Deploying.NET Logic to DB2 Although the process for incorporating.net managed code into DB2 UDB 8.2 is similar to SQL Server 2005, there are differences in database object types and locations, as well as security and database management processes. To create CLR database objects in DB2, you first create a DLL in a.net managed language using Visual Studio. This DLL file must be copied to a special, well-known directory of the DB2 install path or the full path name needs to be given when the procedure or function is created. The DLL is not actually a database object or imported to a database table. Instead, it is a file in the operating system. The DLL is then used as part of the CREATE command to be used in the creation of a database object like a stored procedure or function. You ll see in the Detailed Walkthrough that Visual Studio 2003 can automate the process of creating a CLR stored procedure for DB2, however, user defined functions are different. You will have to manually perform the process of creating a user defined function. A database administrator or application developer may protect the DLL assemblies that are associated with the DB2 external routines by restricting the actions of the routines at run time. This is done using the EXECUTION CONTROL clause in the CREATE statement for the procedure or function. The valid execution control modes are: SAFE, FILEREAD, FILEWRITE, NETWORK, and UNSAFE. If the execution control mode is not specified, the default mode is SAFE, which means that the CLR routines can only access resources that are controlled by the database manager. Such resources would include all tables and schema managed by the database instance. The FILEREAD, FILEWRITE, and NETWORK execution modes allow the managed code to access resources on the local file system or network. The UNSAFE execution mode places no restrictions on resource access and routines with UNSAFE execution mode may execute binary code. Since DB2 s.net integration is out-of-process, DB2 CLR procedures and functions must also use the FENCED clause in their CREATE statements to specify that the.net logic runs in a different process than the database manager and does not use shared memory for communication. This results in a performance penalty when transferring data between program logic and the database itself, as compared to an in-process model. Visual Studio and SQL Server 2005 Integration Visual Studio 2005 and SQL Server 2005 provide the highest level of integration that a Microsoft development environment has ever had with a database platform. SQL Server 2005 and Visual Studio 2005 provide unprecedented integration between database and development tool. Visual Studio 2005 delivers many database-specific features that can be used to develop SQL Server solutions. Some of these features, like the Server Explorer, can be used for both client and server-side database development projects. Others, like the SQL Server Project template and CLR item templates, are only used to develop SQL Server server-side artifacts. Figure 2 illustrates many of the database integration features that are present in Visual Studio 2005.

12 Figure 2 SQL Server 2005 and Visual Studio Server Explorer. Server Explorer enables developers to browse and interact with server-side resources such as queues, databases, Active Directory, and others. Specifically for SQL Server 2005, the Server Explorer allows developers to browse both the metadata and data of a defined data source. The Server Explorer s Data Connections view lists the tables, views, stored procedures, functions, synonyms, and assemblies that are found in the target data source. In addition, the Server Explorer enables you to access a number of database-specific features that you can see in Figure 2, including a graphical query designer, a table designer, the SQL query window, and a table data viewer. SQL Server Project Template. Enabling the creation of SQL Server CLR projects, the new SQL Server project template is invoked using the File menu and then selecting the New option followed by the Project option. This project type is supported for C#, Visual Basic, J#, and managed C++ projects. Every new SQL Server project automatically includes a reference to the sqlaccess.dll, which contains the in-process SQL Server.NET Data Provider. After a SQL Server Project is created, a number of SQL Server-specific Item templates are automatically added to your Visual Studio project. Stored Procedure Item Template. The Stored Procedure item template is used to create a CLR stored procedure. It automatically adds a class file to the project that contains the.net stored procedure code. User-Defined Function Item Template. The User-Defined Function item template is used to create a CLR stored procedure. It automatically adds a class file to the project to contain the.net stored procedure code.

13 Trigger Item Template. The Trigger item template is used to create a CLR trigger. A class file is added to the project that contains the trigger stub code. Aggregate Item Template. The Aggregate item template is used to create a user defined aggregate. A class file is added to the project that contains the CLR aggregate stub code. Create New SQL Server Database. Started from the Tools menu, the Create SQL Server Database option displays a set of dialogs that enable you to create a new database on the target SQL Server system. Test Script Generation. Like its name suggests, the Test Script Generation feature creates scripts that can be used to test CLR stored procedures and functions created in Visual Studio. By default, the test scripts that are generated are stub files whose primary purpose is to provide a simple wrapper that can be used to invoke the routine. However, you can freely customize these scripts and add test data and other implementation-specific functionality. SQL/CLR Debugging. This feature enables you to seamlessly debug CLR stored procedures from Visual Studio The SQL/CLR debugger enables you to step in and out of both CLR and SQL code, and you can set breakpoints as well as inspect and change variables values. More information about debugging SQL Server CLR projects is shown in the Detailed Walkthrough section. Additional Project Types. In addition to the CLR-specific project types, Visual Studio 2005 also supports the development of projects for all of the other SQL Server development and management frameworks including System Management Objects (SMO), Replication Management Objects (RMO), Analysis Management Objects (AMO), and the Integration Services class library. Visual Studio and DB2 UDB 8.2 Integration Installing the DB2 Application Development Client v8.2 on a machine that already has Visual Studio installed will configure DB2 Development Add-Ins into the Visual Studio.NET development environment. These add-ins provide Visual Studio 2003 with a collection of features that allow you to work with DB2 servers and develop DB2 procedures and functions. Some of these features, like the IBM Explorer, let you graphically create and manage data connections. You can launch the various DB2 development and administration tools from the DB2 Tools toolbar that is added to the Visual Studio main menu. You may also create and control DB2 projects from the Solution Explorer window. Figure 3 shows an overview of the DB2 Application Development Client features that are exposed within Visual Studio.

14 Figure 3 - DB2 UDB 8.2 and Visual Studio IBM Explorer. The IBM Explorer is a dockable window that is similar to the built-in Server Explorer provided by Visual Studio. The IBM Explorer s Data Connections view lists the tables, views, procedures, functions, and data adapters of DB2 resources, whether local or remote. In addition, the IBM Explorer enables you to access a number of database-specific features such as a table designer and table data viewer. DB2 Database Project Template. Enabling the creation of DB2 CLR database projects, the new DB2 Database project template is invoked by selecting the File menu, then selecting New, and then selecting the Project menu option. The DB2 Database Project helps in the creation and management of DB2 database server scripts in the Solution Explorer. DB2 Class Library Project Template. This project type enables the creation and management of procedures and user defined functions and is supported for C# and Visual Basic projects. Creating a new DB2 class library project automatically adds a reference to the IBM.Data.DB2 data provider. A DB2 Class Library Template is not provided for J# or C++, so you need to manually code the data provider reference and DB2 objects into these class libraries. Stored Procedure Item Template. The Stored Procedure item template is used to create a DB2 CLR stored procedure from a DLL assembly included in your project. A wizard steps you through the selection of a DLL assembly and setup of the stored procedure s parameters and actions. When the wizard is completed, a class file is automatically added to the project that contains the.net stored procedure code.

15 The DB2 Tools toolbar. This toolbar is integrated with the Visual Studio toolbars and it allows you to launch the external DB2 development and administration tools. The DB2 Tools toolbar includes: the Development Center, the Control Center, the Replication Center, the Command Center, the Task Center, the Health Center, the Journal, and the Information Center. Manageability and Performance The primary management tool for SQL Server 2005 is the new SQL Server Management Studio. Shown in Figure 4, the new SQL Server Management Studio incorporates most of the functionality that used to be provided by SQL Server Enterprise Manager and Query Analyzer. It allows you to browse the server and database metadata as well as write and execute T-SQL queries. Figure 4 The SQL Server Management Studio The SQL Server Management Studio is built using a specialized version of the Visual Studio 2005 IDE (Interactive Development Environment). Like Visual Studio 2005, the SQL Server Management Studio supports the creating software projects. It allows you to write, edit, run, and debug code. However, instead of working with.net code, the SQL Server Management Studio is used to write T-SQL, MDX, DMX, and XMLA queries. It is also integrated with Visual SourceSafe for source code version control. The Object

16 Explorer window enables you to work with the database objects in each server. And the Solutions Explorer window enables you to group your database source code into logical collections. SQL Server 2005 provides several performance tools that are both integrated into the operating system as well as into the management toolset. When SQL Server is installed, a collection of SQL Server-related performance counters is automatically added to the system. You can query these counters using System Monitor or via scripting with WMI. To help you fine tune your database queries, the SQL Server Management Studio supports returning both the actual and the estimated execution plan that s used by any query that s executed using the Query Editor. In addition, the integrated SQL Trace facility enables you to trace the execution of both database queries as well as Analysis servers queries. DB2 UDB 8.2 allows you to manage and administer systems, DB2 UDB instances, databases, and database objects from a stand-alone application called the Control Center. The DB2 UDB 8.2 Control Center is shown in Figure 5. Figure 5 The DB2 UDB 8.2 Control Center The Control Center allows for three different views of the DB2 database: Basic, Advanced, and Custom. The Basic view includes only the essential objects like the database, tables, and stored procedures. The Advanced view shows all objects and views available in the Control Center. The Custom view allows you create your own individualized view of the databases and their objects.

17 DB2 UDB 8.2 Control Center s integrated Development Center application enables you to build stored procedures and functions and group them into projects. The stored procedures and user-defined functions created with the Development Center are built in SQL and not with.net code. The Development Center does not provide source control. Upon DB2 UDB 8.2 installation, performance counters are added to the system and may be queried using System Monitor or via scripting with WMI. DB2 UDB 8.2 provides several other monitoring tools, including a Query Patroller Center that can estimate the cost of running a query as well as control the workload of a set of queries running against a database. Technical Walkthrough To enable you to get a deeper understanding of the differences in the Visual Studio integration of SQL Server 2005 and UDB 8.2, this next section takes you through the steps required to build a stored procedure using each of the different database products. First, we ll present the code for a sample stored procedure that is written in C#. Then we ll walk you through the process of creating and deploying that.net stored procedure. The first example uses the combination of Visual Studio and SQL Server 2005 and the second example illustrates the same process using Visual Studio and UDB 8.2. As we go through this process, we ll note the significant differences between the two products implementation details as well as dig deeper into other relevant integration details like the ability to debug the.net code and secure the database objects that are created. Description of SQL Server 2005 CLR Stored Procedure The ability to access external resources outside the database is one of the key advantages to using CLR database objects. Standard SQL and T-SQL statements can retrieve and manipulate relational data from the server but they are not capable of accessing system resources outside of the database such as the file system or the registry. CLR stored procedures (and other server-side artifacts coded in.net) have full access to the.net Framework. They can access relational data from the database engine as well as access external resources. An example stored procedure coded in C# is shown below. This stored procedure, named usp_readtextfile, reads data from a text file stored in the server s filesystem into a SqlString data type. using System; using System.Data; using System.Data.Sql; using System.Data.SqlServer; using System.Data.SqlTypes; using System.IO; public partial class StoredProcedures { [SqlProcedure] public static void usp_readtextfile(string sinputfile, out SqlString scolumn) {

18 string strcontents; scolumn = ""; try { StreamReader strreader = new StreamReader(sInputFile); strcontents = strreader.readtoend(); strreader.close(); scolumn = strcontents; } catch (Exception ex) { SqlPipe sp = SqlContext.GetPipe(); sp.send(ex.message); } } } First, examine the using statements. These enable the program logic to use the classes in the SQL Server.NET Data Provider s namespace without needing to reference the fully qualified names of the classes. The SQL.NET Data Provider (under the namespace System.Data.SqlServer) is responsible for connecting to the SQL Server system. The second thing to notice is the [SqlProcedure] attribute that precedes the method name. This attribute tells the.net compiler and runtime this method will be exposed as a SQL Server stored procedure. Next, you can see that the default class name for this stored procedure is set to StoredProcedures. This class contains a static method named usp_readtextfile. When you are using C#, the method must be defined as static. For Visual Basic code, the method would need to be defined as Shared. The usp_readtextfile method accepts two parameters. The first parameter is an input parameter that passes in a string value that is used to supply the name of an operating system file. The second parameter is an output parameter (denoted by the out qualifier keyword). This parameter returns the contents of the text file to the caller as a SQLString data type which maps to a T-SQL varchar data type. For those that cannot read C# code, here s a quick summary of what this routine does: The code here essentially opens a text file, reads its contents, and places the contents in the SqlString output parameter. In the beginning of the procedure, a string variable is declared that will store the contents of the text file. Next, the file is read within the trycatch loop. First a StreamReader object named strreader is created and passed the name of the input file contained in the sinputfile variable. Then the StreamReader s ReadtoEnd method is used to read the entire contents of the input file assigning them to the strcontents variable. After the file has been read, the StreamReader is closed and the input data is moved to the scolumn output parameter. If an error is encountered while attempting to read the input file, the code in the catch block will be executed. Here, an instance of the SqlPipe object is used to send an error message back to the caller of the procedure. First, an instance of the SqlPipe object named sp is created using the SqlContext.GetPipe method. Then the SqlPipe object s Send method is used to pipe the contents of the ex Exception object s Message property to the program that called the usp_readtextfile stored procedure. To deploy this code into SQL Server, there are two steps: compilation and installation. The developer can perform these steps manually, by moving the assembly DLL and running SQL Server commands, or he can use Visual Studio to automate the task. To do it manually, copy the resulting assembly to a file system that s accessible by SQL Server

19 and then run the CREATE ASSEMBY and CREATE PROCEDURE commands. However, if you're developing in Visual Studio 2005, then you simply select Build then Deploy Solution option to install the new CLR stored procedure in the SQL Server database. In the next section, we ll walk through the steps of creating and deploying the usp_readtextfile CLR stored procedure using Visual Studio Building a Stored Procedure with SQL Server and Visual Studio 2005 The following table summarizes the steps needed to create and deploy a CLR stored procedure to a SQL Server 2005 database using Visual Studio Summary of Steps in Development Process Step Description Tool 1 Create new Visual Studio SQL Server Project Visual Studio 2005 File menu 2 Create Database Connection SQL Server Project Template 3 Add Stored Procedure Stored Procedure Project Template 4 Build Project Visual Studio 2005 Build menu 5 Deploy Project Visual Studio 2005 Total 5 steps Build menu Tools Integration To create a CLR stored procedure in Visual Studio 2005, you first create a SQL Server project by opening Visual Studio 2005 and from the File menu choosing the New Project menu option which will display the New Project dialog. On the New Project dialog you select SQL Server Project from the list of installed Visual Studio templates and give your project a name. The name used here will be the name of your Visual Studio solution. It will also be the name of the assembly that will be created. This can be the same name as your stored procedure if you have only a single stored procedure in the project, or it can be a different name if you want multiple stored procedures or other CLR database objects as part of the project.

20 Figure 6 Creating a new SQL Server Project Clicking the OK button will create the new project in the Visual Studio 2005 IDE and the SQL Server Project template will then automatically prompt you for your SQL Server 2005 database connection information. Visual Studio uses this information for debugging and deploying your solution. Typically, this initially is a development database; the.net logic artifacts can be deployed to a production instance of SQL Server after testing and QA.

21 Figure 7 Specifying the SQL Server project s database connection properties In the Connection Properties dialog box you can enter the name of your SQL Server system in the Select or enter a server name dropdown box. If you have multiple SQL Server systems registered on your development system, all of the registered system names will be listed when you click the dropdown arrow. If your target system is not listed you can also manually enter the system name or ID address in the dropdown box. After you select the server, you next need to select the type of authentication that you want to use to connect to the server system. Selecting Windows NT Integrated Security will pass the user ID and password that you used in your Windows login to SQL Server. If your server is not set to use integrated security you can supply a SQL Server login using the User ID and Password prompts. Next, select the database that you want to use as your deployment target. Click on the dropdown box to display a list of all of the databases that you are authorized to access. The database must exist on the SQL Server prior to creating your SQL Server project using Visual Studio Once you ve entered all of the required connection information you can test the connection by clicking the Test Connection button. If all of the connection information is valid a Successful Connection message will be displayed, otherwise you must correct the connection information. Clicking the OK button writes the connection information to the

22 Visual Studio project and displays the Visual Studio IDE. Because the connection information is persisted in the project it s best to use integrated security which doesn t store the actual login information. If you do explicitly provide the login information then you need to be sure that your project is stored in a secure location. Figure 8 The newly created SQL Server project The SQL Server project that s created is initially an empty solution. The Solution Explorer shows the name of the project that was carried over from the first New Project dialog box. In addition, the appropriate Reference files are automatically added to the project. In particular, the sqlaccess Reference is the system DLL that contains the SQL Server.NET Provider and the code required to create and execute.net database objects. To create a CLR stored procedure in Visual Studio 2005, from Visual Studio 2005 s Project menu, select Add Stored Procedure.

23 Figure 9 Adding a CLR Stored Procedure Here again, you can see the deep integration of SQL Server and the Visual Studio 2005 IDE. Options to create all of the different.net database objects are present on the Visual Studio Project menu. In addition, you can also display options to create the different.net database objects by right-clicking on the project in the Solution Explorer window and selecting the Add Item option. In either case this will display the Add New Item dialog box that you can see in Figure 10.

24 Figure 10 Selecting the Stored Procedure item template From the Add New Item dialog box, select the Stored Procedure option from the list of templates displayed in the Templates list and then provide the name of the stored procedure in the Name field that you can see near the bottom of the screen. Figure 10 shows that the stored procedure will be named usp_readtextfile. Click Add and Visual Studio 2005 will add a new class to your project for the stored procedure. Figure 11 shows the generated class file named after your stored procedure name. This class will include all of the required using directives as well as skeleton code that names the stored procedure. The default class name is set to StoredProcedures and within that class the skeleton for usp_readtextfile method is created, and prefixed with the previously mentioned [SqlProcedure] attribute. It's up to you to fill in the implementation.

25 Figure 11 The generated SQL Server stored procedure class After you ve finished coding the stored procedure, you build exactly like any other C# project by selecting Build Solution from Visual Studio s Build menu (Figure 12).

26 Figure 12 Building the SQL Server CLR stored procedure Building the project compiles it into an assembly on the local machine. In this example, that assembly is named usp_readtextfile.dll. At this point, you must deploy the project by clicking the Build menu then selecting the Deploy Solution menu option to create the procedure on the SQL Server system.

27 Figure 13 Deploying the stored procedure DLL to SQL Server When you deploy the project, Visual Studio copies the assembly to the SQL Server database that was previously selected on the Connection dialog. Behind the scenes, it will run the CREATE ASSEMBLY and CREATE PROCEDURE statements to copy the usp_readtextfile.dll assembly into the sys.assemblies table and then use that assembly to create the usp_readtextfile stored procedure.

28 Figure 14 The deployment status The output window at the bottom of the Visual Studio IDE shows the status of the deployment process. If the source code has been modified in any way, the deployment process will automatically recompile the assembly before deploying it to the SQL Server database. If the deployment succeeds, the Deploy succeeded message displays in the Visual Studio status bar. After the CLR stored procedure has been deployed to SQL Server, the Visual studio integration features enable you to debug the procedure from the Visual Studio IDE. Before debugging the CLR stored procedure, you need to open the Server Explorer and right-click on the Data Connection that was built when the project was first created. Then from the pop-up menu select the Allow SQL/CLR Debugging option. Next, to debug the stored procedure, set a breakpoint in the.net source code for the stored procedure and press F5 or click the green Run arrow icon. The test script for the stored procedure will run and the execution of the stored procedure will stop at the break point as is shown in Figure 15.

29 Figure 15 Debugging SQL Server CLR stored procedures From the debugger you can perform all of the same actions that you can normally perform when debugging normal Windows applications including displaying and changing the contents of variables as well as freely single-stepping between CLR and SQL code. This level of integration, where you can step in and out of both SQL code and.net code has no parallel in DB2 UDB 8.2.

30 Description of a DB2 CLR Stored Procedure Much as they can with SQL Server, Visual Studio developers can build.net logic for deployment into DB2 UDB v8.2. DB2 CLR procedures have access to all of the functionality provided by the.net Framework, just as with.net logic running in SQL Server. However, there are differences between the DB2 UDB 8.2 implementation and the SQL Server implementation. These differences are outlined in the DB2 stored procedure presented in the next section. To illustrate the basics, again we will use an example stored procedure that reads data from a text file into a String. using System; using System.IO; using IBM.Data.DB2; namespace DB2ClassLibrary1 { /// <summary> /// This class and method is used for a DB2 CLR procedure. /// </summary> public class StoredProcedures { public static void usp_readtextfile( String sinputfile, ref String scolumn, out String serrormsg) { String strcontents; } } } try { StreamReader strreader = new StreamReader(sInputFile); strcontents = strreader.readtoend(); strreader.close(); scolumn = strcontents; serrormsg = null; } catch (Exception ex) { serrormsg = ex.message; } The first point to note in this code is the directive that imports the IBM.Data.DB2 namespace. This enables the stored procedure to use the classes in the DB2.NET Data Provider s namespace without needing to reference the fully qualified name of the classes. Similar to the SQL.NET Data Provider, the DB2.NET Data Provider is an extension of the.net Framework and allows.net applications to connect and execute commands to the DB2 system. The System.IO directive is also imported to allow access to the PC file directory.

31 The second thing to notice is the namespace DB2ClassLibrary1. The DB2 UDB Stored Procedure Template automatically creates the namespace for.net projects. Next, you can see that the default class name for this stored procedure is set to StoredProcedures. This class contains a static method named usp_readtextfile. Again, for those that cannot read C#, here s a quick summary of the routine: The usp_readtextfile method uses three parameters. The first parameter is an input parameter that passes in a string value that is used to supply the name of an operating system file. The second parameter is an output parameter that returns the contents of the text file to the caller. The third parameter is an output parameter that returns any exceptions errors caught in the code. This parameter is required because DB2 does not contain an equivalent to the SqlPipe object which communicates with the procedure caller. The rest of the code here is basically the same as the previously shown SQL Server code. If an error is encountered while attempting to read the input file, the code in the catch block will be executed. In this example, the serrormsg parameter is set to the contents of the ex Exception object s Message property, and returned to the program that called the usp_readtextfile stored procedure. The next step is to build and deploy this stored procedure.

32 Building a Stored Procedure with DB2 and Visual Studio The following table captures the steps required to create the same usp_readtextfile stored procedure using Visual Studio and DB2 Stinger. Summary of Steps in Development Process Step Description Tool 1 Create new Visual Studio DB2 Database Project Visual Studio File menu 2 Create Database Connection Visual Studio IBM Explorer pane 3 Add DB2 Class Library Visual Studio File menu 4 Build Assembly Visual Studio Build menu 5 Install Assembly Visual Studio Solution Explorer pane 6 Add Stored Procedure Visual Studio Stored Procedure Project Template 7 Build Solution Visual Studio Build menu Total 7 steps Tools Integration To create a CLR stored procedure in Visual Studio, you first create a DB2 Database Project by opening Visual Studio and selecting New and then choose Project from the File menu, which will display the New Project dialog box. On the New Project dialog box you select IBM Projects from the Project Types list, and then select DB2 Database Project from the list of installed Visual Studio templates. You then give your project a name and designate a location to store your project. The name given here will be the name of your Visual Studio solution. As with SQL Server, this can be the same name as your stored procedure if you only have a single stored procedure in the project, or it can be a different name if you want multiple stored procedures or other CLR database objects as part of the project.

33 Figure 16 Creating a new DB2 UDB Database Project Click OK to create the new project in the Visual Studio IDE. You will notice in your Solution Explorer that the newly created DB2 Database Project contains folders for each of the database objects you may create using the Visual Studio IDE. The DB2 Data Connection dialog box will then be displayed with a dropdown box containing any previously defined DB2 connections. In this case, we have not yet set up any DB2 connections, so click New Connections to display the Add DB2 Data Connection dialog box (Figure 17).

34 Figure 17 Create a new DB2 UDB database connection On the Add DB2 Data Connection dialog box, enter the name of your DB2 system in the Server dropdown box. If you have multiple DB2 systems registered on your development system, all of the registered system names will be listed when you click the dropdown arrow. After selecting the server, you continue setting up your connection by entering the database that you want to connect to in the Database alias dropdown box, and enter your user ID and password in the User name and Password prompts. Once you ve entered the required connection information you can test the connection by clicking Test Connection. If all of the connection information is valid, a Test connection succeeded message will be displayed. Click OK to write the connection information to the Visual Studio project and display the Visual Studio IDE. Again, if your project contains login information you should be sure that it is saved in a secure location. The next step in creating a DB2 CLR stored procedure is to code the routine logic in any CLR-supported language. Our routine logic is written in a C# module, as described earlier. This C# class will be built into the assembly that will be used by the CLR. To add a C# class to your project, right-click your project solution in the Solution Explorer window and select Add then select New Project from the menu options. The Add New Projects dialog box is displayed. Select Visual C# Projects from the Project Types list,

Writers: Joanne Hodgins, Omri Bahat, Morgan Oslake, and Matt Hollingsworth

Writers: Joanne Hodgins, Omri Bahat, Morgan Oslake, and Matt Hollingsworth SQL Server Technical Article Writers: Joanne Hodgins, Omri Bahat, Morgan Oslake, and Matt Hollingsworth Technical Reviewer: Dan Jones Published: August 2009 Applies to: SQL Server 2008 R2, August CTP Summary:

More information

BizTalk Server 2006. Business Activity Monitoring. Microsoft Corporation Published: April 2005. Abstract

BizTalk Server 2006. Business Activity Monitoring. Microsoft Corporation Published: April 2005. Abstract BizTalk Server 2006 Business Activity Monitoring Microsoft Corporation Published: April 2005 Abstract This paper provides a detailed description of two new Business Activity Monitoring (BAM) features in

More information

Pipeliner CRM Phaenomena Guide Add-In for MS Outlook. 2015 Pipelinersales Inc. www.pipelinersales.com

Pipeliner CRM Phaenomena Guide Add-In for MS Outlook. 2015 Pipelinersales Inc. www.pipelinersales.com Add-In for MS Outlook 205 Pipelinersales Inc. www.pipelinersales.com Add-In for MS Outlook Learn how to use sales lead management with Pipeliner MS Outlook Add-In. CONTENT. Setting up Pipeliner Add-In

More information

Programmabilty. Programmability in Microsoft Dynamics AX 2009. Microsoft Dynamics AX 2009. White Paper

Programmabilty. Programmability in Microsoft Dynamics AX 2009. Microsoft Dynamics AX 2009. White Paper Programmabilty Microsoft Dynamics AX 2009 Programmability in Microsoft Dynamics AX 2009 White Paper December 2008 Contents Introduction... 4 Scenarios... 4 The Presentation Layer... 4 Business Intelligence

More information

SQL Server 2005 Reporting Services (SSRS)

SQL Server 2005 Reporting Services (SSRS) SQL Server 2005 Reporting Services (SSRS) Author: Alex Payne and Brian Welcker Published: May 2005 Summary: SQL Server 2005 Reporting Services is a key component of SQL Server 2005. Reporting Services

More information

Microsoft Dynamics GP. econnect Installation and Administration Guide Release 9.0

Microsoft Dynamics GP. econnect Installation and Administration Guide Release 9.0 Microsoft Dynamics GP econnect Installation and Administration Guide Release 9.0 Copyright Copyright 2006 Microsoft Corporation. All rights reserved. Complying with all applicable copyright laws is the

More information

Windows Azure Pack Installation and Initial Configuration

Windows Azure Pack Installation and Initial Configuration Windows Azure Pack Installation and Initial Configuration Windows Server 2012 R2 Hands-on lab In this lab, you will learn how to install and configure the components of the Windows Azure Pack. To complete

More information

Developing CLR Database Objects

Developing CLR Database Objects CHAPTER 3 Developing CLR Database Objects IN THIS CHAPTER Understanding CLR and SQL Server 2005 Database Engine Creating CLR Database Objects Debugging CLR Database Objects 77 ch03.indd 77 11/14/05 2:21:27

More information

Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT

Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT AGENDA 1. Introduction to Web Applications and ASP.net 1.1 History of Web Development 1.2 Basic ASP.net processing (ASP

More information

Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0

Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0 Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0 This document supports the version of each product listed and supports all subsequent versions until the document

More information

Microsoft Dynamics GP 2010. SQL Server Reporting Services Guide

Microsoft Dynamics GP 2010. SQL Server Reporting Services Guide Microsoft Dynamics GP 2010 SQL Server Reporting Services Guide April 4, 2012 Copyright Copyright 2012 Microsoft. All rights reserved. Limitation of liability This document is provided as-is. Information

More information

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training QAD Enterprise Applications Training Guide Demand Management 6.1 Technical Training 70-3248-6.1 QAD Enterprise Applications February 2012 This document contains proprietary information that is protected

More information

Exclaimer Email Alias Manager for Exchange Deployment Guide - Exclaimer Email Alias Manager for Exchange Outlook Add-In

Exclaimer Email Alias Manager for Exchange Deployment Guide - Exclaimer Email Alias Manager for Exchange Outlook Add-In Exclaimer Email Alias Manager for Exchange Deployment Guide - Exclaimer Email Alias Manager for Exchange Outlook Add-In www.exclaimer.com Contents About This Guide...3 System Requirements...4 Software...4

More information

EventTracker: Support to Non English Systems

EventTracker: Support to Non English Systems EventTracker: Support to Non English Systems Publication Date: April 25, 2012 EventTracker 8815 Centre Park Drive Columbia MD 21045 www.eventtracker.com Introduction This document has been prepared to

More information

SQL Server Integration Services with Oracle Database 10g

SQL Server Integration Services with Oracle Database 10g SQL Server Integration Services with Oracle Database 10g SQL Server Technical Article Published: May 2008 Applies To: SQL Server Summary: Microsoft SQL Server (both 32-bit and 64-bit) offers best-of breed

More information

How To Install Outlook Addin On A 32 Bit Computer

How To Install Outlook Addin On A 32 Bit Computer Deployment Guide - Outlook Add-In www.exclaimer.com Contents About This Guide... 3 System Requirements... 4 Software... 4 Installation Files... 5 Deployment Preparation... 6 Installing the Add-In Manually...

More information

BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008

BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008 BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008 BUILDER 3.0 1 Table of Contents Chapter 1: Installation Overview... 3 Introduction... 3 Minimum Requirements...

More information

Integrating Business Portal 3.0 with Microsoft Office SharePoint Portal Server 2003: A Natural Fit

Integrating Business Portal 3.0 with Microsoft Office SharePoint Portal Server 2003: A Natural Fit Integrating Business Portal 3.0 with Microsoft Office SharePoint Portal Server 2003: A Natural Fit Published: December 2005 For the latest information, please see http://mbs.microsoft.com/public/gponline

More information

Microsoft Corporation. Status: Preliminary documentation

Microsoft Corporation. Status: Preliminary documentation Microsoft Corporation Status: Preliminary documentation Beta content: This guide is currently in beta form. The AppLocker team greatly appreciates you reviewing the document and looks forward to receiving

More information

Improving Performance of Microsoft CRM 3.0 by Using a Dedicated Report Server

Improving Performance of Microsoft CRM 3.0 by Using a Dedicated Report Server Improving Performance of Microsoft CRM 3.0 by Using a Dedicated Report Server January 2006 Downloaded from http://www.sonomapartners.com/ - 1 - Information in this document, including URL and other Internet

More information

Windows Server Update Services 3.0 SP2 Step By Step Guide

Windows Server Update Services 3.0 SP2 Step By Step Guide Windows Server Update Services 3.0 SP2 Step By Step Guide Microsoft Corporation Author: Anita Taylor Editor: Theresa Haynie Abstract This guide provides detailed instructions for installing Windows Server

More information

Authoring for System Center 2012 Operations Manager

Authoring for System Center 2012 Operations Manager Authoring for System Center 2012 Operations Manager Microsoft Corporation Published: November 1, 2013 Authors Byron Ricks Applies To System Center 2012 Operations Manager System Center 2012 Service Pack

More information

Microsoft Corporation. Project Server 2010 Installation Guide

Microsoft Corporation. Project Server 2010 Installation Guide Microsoft Corporation Project Server 2010 Installation Guide Office Asia Team 11/4/2010 Table of Contents 1. Prepare the Server... 2 1.1 Install KB979917 on Windows Server... 2 1.2 Creating users and groups

More information

DEVELOP. Choosing a Development Tool. Microsoft Dynamics GP. White Paper

DEVELOP. Choosing a Development Tool. Microsoft Dynamics GP. White Paper DEVELOP Microsoft Dynamics GP Choosing a Development Tool White Paper This paper provides guidance when choosing which development tool to use to create an integration for Microsoft Dynamics GP. Date:

More information

Multiple Formatter Support for the Logging Application Block

Multiple Formatter Support for the Logging Application Block Multiple Formatter Support for the Logging Application Block Scott Densmore, Naveen Yajaman, Paul Slater, and Andrew Mason Information in this document, including URL and other Internet Web site references,

More information

Creating IBM Cognos Controller Databases using Microsoft SQL Server

Creating IBM Cognos Controller Databases using Microsoft SQL Server Guideline Creating IBM Cognos Controller Databases using Microsoft SQL Product(s): IBM Cognos Controller 8.1 or higher Area of Interest: Financial Management 2 Copyright Copyright 2008 Cognos ULC (formerly

More information

Using the Query Analyzer

Using the Query Analyzer Using the Query Analyzer Using the Query Analyzer Objectives Explore the Query Analyzer user interface. Learn how to use the menu items and toolbars to work with SQL Server data and objects. Use object

More information

Sage CRM Connector Tool White Paper

Sage CRM Connector Tool White Paper White Paper Document Number: PD521-01-1_0-WP Orbis Software Limited 2010 Table of Contents ABOUT THE SAGE CRM CONNECTOR TOOL... 1 INTRODUCTION... 2 System Requirements... 2 Hardware... 2 Software... 2

More information

Introduction to DirectAccess in Windows Server 2012

Introduction to DirectAccess in Windows Server 2012 Introduction to DirectAccess in Windows Server 2012 Windows Server 2012 Hands-on lab In this lab, you will configure a Windows 8 workgroup client to access the corporate network using DirectAccess technology,

More information

Administering Group Policy with Group Policy Management Console

Administering Group Policy with Group Policy Management Console Administering Group Policy with Group Policy Management Console By Jim Lundy Microsoft Corporation Published: April 2003 Abstract In conjunction with Windows Server 2003, Microsoft has released a new Group

More information

NetBeans IDE Field Guide

NetBeans IDE Field Guide NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Introduction to J2EE Development in NetBeans IDE...1 Configuring the IDE for J2EE Development...2 Getting

More information

Windows BitLocker Drive Encryption Step-by-Step Guide

Windows BitLocker Drive Encryption Step-by-Step Guide Windows BitLocker Drive Encryption Step-by-Step Guide Microsoft Corporation Published: September 2006 Abstract Microsoft Windows BitLocker Drive Encryption is a new hardware-enhanced feature in the Microsoft

More information

Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide

Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide Page 1 of 243 Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide (This is an alpha version of Benjamin Day Consulting, Inc. s installation

More information

TIBCO Spotfire Metrics Prerequisites and Installation

TIBCO Spotfire Metrics Prerequisites and Installation TIBCO Spotfire Metrics Prerequisites and Installation Software Release 6.0 November 2013 Two-Second Advantage 2 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF

More information

Silect Software s MP Author

Silect Software s MP Author Silect MP Author for Microsoft System Center Operations Manager Silect Software s MP Author User Guide September 2, 2015 Disclaimer The information in this document is furnished for informational use only,

More information

SharePoint Server for Business Intelligence

SharePoint Server for Business Intelligence SharePoint Server for Business Intelligence SharePoint Business Intelligence Content Team Summary: Step-by-step, learn how to install and configure SharePoint Server 2010 and SQL Server 2008 to create

More information

How to test and debug an ASP.NET application

How to test and debug an ASP.NET application Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult

More information

Integrating SharePoint Sites within WebSphere Portal

Integrating SharePoint Sites within WebSphere Portal Integrating SharePoint Sites within WebSphere Portal November 2007 Contents Executive Summary 2 Proliferation of SharePoint Sites 2 Silos of Information 2 Security and Compliance 3 Overview: Mainsoft SharePoint

More information

Key Benefits of Microsoft Visual Studio 2008

Key Benefits of Microsoft Visual Studio 2008 Key Benefits of Microsoft Visual Studio 2008 White Paper December 2007 For the latest information, please see www.microsoft.com/vstudio The information contained in this document represents the current

More information

Choosing a Development Tool

Choosing a Development Tool Microsoft Dynamics GP 2013 R2 Choosing a Development Tool White Paper This paper provides guidance when choosing which development tool to use to create an integration for Microsoft Dynamics GP. Date:

More information

Customizing Remote Desktop Web Access by Using Windows SharePoint Services Stepby-Step

Customizing Remote Desktop Web Access by Using Windows SharePoint Services Stepby-Step Customizing Remote Desktop Web Access by Using Windows SharePoint Services Stepby-Step Guide Microsoft Corporation Published: July 2009 Updated: September 2009 Abstract Remote Desktop Web Access (RD Web

More information

StarWind Virtual SAN Installing & Configuring a SQL Server 2012 Failover Cluster

StarWind Virtual SAN Installing & Configuring a SQL Server 2012 Failover Cluster #1 HyperConverged Appliance for SMB and ROBO StarWind Virtual SAN Installing & Configuring a SQL Server 2012 Failover JANUARY 2015 TECHNICAL PAPER Trademarks StarWind, StarWind Software and the StarWind

More information

Introduction to Hyper-V High- Availability with Failover Clustering

Introduction to Hyper-V High- Availability with Failover Clustering Introduction to Hyper-V High- Availability with Failover Clustering Lab Guide This lab is for anyone who wants to learn about Windows Server 2012 R2 Failover Clustering, focusing on configuration for Hyper-V

More information

Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2005 (VB)

Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2005 (VB) Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2005 (VB) Course Number: 4995 Length: 5 Day(s) Certification Exam There are no exams associated with this course. Course Overview

More information

Getting started with Microsoft SharePoint Server 2010

Getting started with Microsoft SharePoint Server 2010 Getting started with Microsoft SharePoint Server 2010 Microsoft Corporation Published: May 2010 Author: Microsoft Office System and Servers Team (itspdocs@microsoft.com) Abstract This book provides basic

More information

SQL Server 2014 BI. Lab 04. Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server 2014. Jump to the Lab Overview

SQL Server 2014 BI. Lab 04. Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server 2014. Jump to the Lab Overview SQL Server 2014 BI Lab 04 Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server 2014 Jump to the Lab Overview Terms of Use 2014 Microsoft Corporation. All rights reserved.

More information

For Introduction to Java Programming, 5E By Y. Daniel Liang

For Introduction to Java Programming, 5E By Y. Daniel Liang Supplement H: NetBeans Tutorial For Introduction to Java Programming, 5E By Y. Daniel Liang This supplement covers the following topics: Getting Started with NetBeans Creating a Project Creating, Mounting,

More information

Pipeliner CRM Phaenomena Guide Getting Started with Pipeliner. 2015 Pipelinersales Inc. www.pipelinersales.com

Pipeliner CRM Phaenomena Guide Getting Started with Pipeliner. 2015 Pipelinersales Inc. www.pipelinersales.com Getting Started with Pipeliner 05 Pipelinersales Inc. www.pipelinersales.com Getting Started with Pipeliner Learn How to Get Started with Pipeliner Sales CRM Application. CONTENT. Setting up Pipeliner

More information

Creating and Deploying Active Directory Rights Management Services Templates Step-by-Step Guide

Creating and Deploying Active Directory Rights Management Services Templates Step-by-Step Guide Creating and Deploying Active Directory Rights Management Services Templates Step-by-Step Guide Microsoft Corporation Published: January 2008 Author: Brian Lich Editor: Carolyn Eller Abstract This step-by-step

More information

Microsoft Dynamics GP. Workflow Installation Guide Release 10.0

Microsoft Dynamics GP. Workflow Installation Guide Release 10.0 Microsoft Dynamics GP Workflow Installation Guide Release 10.0 Copyright Copyright 2008 Microsoft Corporation. All rights reserved. Complying with all applicable copyright laws is the responsibility of

More information

Developing and Deploying SQL Server Applications on HP Integrity Servers

Developing and Deploying SQL Server Applications on HP Integrity Servers Developing and Deploying SQL Server Applications on HP Integrity Servers Abstract...3 Environment Setup...4 Installation...4 HP Integrity Server...4 Windows Client...4 Tools...5 SQL Server Management Studio

More information

IBM WebSphere ILOG Rules for.net

IBM WebSphere ILOG Rules for.net Automate business decisions and accelerate time-to-market IBM WebSphere ILOG Rules for.net Business rule management for Microsoft.NET and SOA environments Highlights Complete BRMS for.net Integration with

More information

Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide

Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide Windows 2000, Windows Server 2003 5.0 11293743 Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide Copyright

More information

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008. Znode Multifront - Installation Guide Version 6.2 1 System Requirements To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server

More information

System Requirements for Microsoft Dynamics NAV 2013 R2

System Requirements for Microsoft Dynamics NAV 2013 R2 System Requirements for Microsoft Dynamics NAV 2013 R2 February 2014 Contents 3 System Requirements for the Microsoft Dynamics NAV Windows Client 3 Web Client 4 System Requirements for Microsoft Dynamics

More information

Dynamics AX. Microsoft Dynamics AX 4.0. Microsoft Dynamics ISV Software Solution Test Guidelines

Dynamics AX. Microsoft Dynamics AX 4.0. Microsoft Dynamics ISV Software Solution Test Guidelines Dynamics AX Microsoft Dynamics AX 4.0 Microsoft Dynamics ISV Software Solution Test Guidelines May 23, 2007 The information contained in this document represents the current view of Microsoft Corporation

More information

Lab Answer Key for Module 9: Active Directory Domain Services. Table of Contents Lab 1: Exploring Active Directory Domain Services 1

Lab Answer Key for Module 9: Active Directory Domain Services. Table of Contents Lab 1: Exploring Active Directory Domain Services 1 Lab Answer Key for Module 9: Active Directory Domain Services Table of Contents Lab 1: Exploring Active Directory Domain Services 1 Information in this document, including URL and other Internet Web site

More information

Sage 200 Web Time & Expenses Guide

Sage 200 Web Time & Expenses Guide Sage 200 Web Time & Expenses Guide Sage (UK) Limited Copyright Statement Sage (UK) Limited, 2006. All rights reserved If this documentation includes advice or information relating to any matter other than

More information

Lab 02 Working with Data Quality Services in SQL Server 2014

Lab 02 Working with Data Quality Services in SQL Server 2014 SQL Server 2014 BI Lab 02 Working with Data Quality Services in SQL Server 2014 Jump to the Lab Overview Terms of Use 2014 Microsoft Corporation. All rights reserved. Information in this document, including

More information

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol Deployment Guide Deploying Microsoft Operations Manager with the BIG-IP system and icontrol Deploying Microsoft Operations Manager with the BIG-IP system and icontrol Welcome to the BIG-IP LTM system -

More information

Working with SQL Server Integration Services

Working with SQL Server Integration Services SQL Server Integration Services (SSIS) is a set of tools that let you transfer data to and from SQL Server 2005. In this lab, you ll work with the SQL Server Business Intelligence Development Studio to

More information

About the Authors About the Technical Reviewers Acknowledgments

About the Authors About the Technical Reviewers Acknowledgments About the Authors p. xvii About the Technical Reviewers p. xix Acknowledgments p. xxi Introduction p. xxiii SQL Server Overview and Installation p. 1 Evolution of SQL Server p. 1 SQL Server 2005 Overview

More information

Lab Answer Key for Module 1: Installing and Configuring Windows Server 2008. Table of Contents Lab 1: Configuring Windows Server 2008 1

Lab Answer Key for Module 1: Installing and Configuring Windows Server 2008. Table of Contents Lab 1: Configuring Windows Server 2008 1 Lab Answer Key for Module 1: Installing and Configuring Windows Server 2008 Table of Contents Lab 1: Configuring Windows Server 2008 1 Information in this document, including URL and other Internet Web

More information

Author: Ryan J Adams. Overview. Policy Based Management. Terminology

Author: Ryan J Adams. Overview. Policy Based Management. Terminology Author: Ryan J Adams Overview We will cover what Policy Based Management is and how you can leverage its power to better manage your environment. With PBM we'll see what it can and cannot do to help you

More information

Master Data Services. SQL Server 2012 Books Online

Master Data Services. SQL Server 2012 Books Online Master Data Services SQL Server 2012 Books Online Summary: Master Data Services (MDS) is the SQL Server solution for master data management. Master data management (MDM) describes the efforts made by an

More information

Deploying Remote Desktop IP Virtualization Step-by-Step Guide

Deploying Remote Desktop IP Virtualization Step-by-Step Guide Deploying Remote Desktop IP Virtualization Step-by-Step Guide Microsoft Corporation Updated: April 2010 Published: July 2009 Abstract Remote Desktop IP Virtualization provides administrators the ability

More information

LifeSize Control Installation Guide

LifeSize Control Installation Guide LifeSize Control Installation Guide April 2005 Part Number 132-00001-001, Version 1.0 Copyright Notice Copyright 2005 LifeSize Communications. All rights reserved. LifeSize Communications has made every

More information

Universal Management Service 2015

Universal Management Service 2015 Universal Management Service 2015 UMS 2015 Help All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording,

More information

Pipeliner CRM Phaenomena Guide Sales Pipeline Management. 2015 Pipelinersales Inc. www.pipelinersales.com

Pipeliner CRM Phaenomena Guide Sales Pipeline Management. 2015 Pipelinersales Inc. www.pipelinersales.com Sales Pipeline Management 2015 Pipelinersales Inc. www.pipelinersales.com Sales Pipeline Management Learn how to manage sales opportunities with Pipeliner Sales CRM Application. CONTENT 1. Configuring

More information

Overview of Active Directory Rights Management Services with Windows Server 2008 R2

Overview of Active Directory Rights Management Services with Windows Server 2008 R2 Overview of Active Directory Rights Management Services with Windows Server 2008 R2 Student Manual Module 3: Active Directory Rights Management Clients and Information Rights Management on Desktop Applications

More information

Crystal Reports Installation Guide

Crystal Reports Installation Guide Crystal Reports Installation Guide Version XI Infor Global Solutions, Inc. Copyright 2006 Infor IP Holdings C.V. and/or its affiliates or licensors. All rights reserved. The Infor word and design marks

More information

File and Printer Sharing with Microsoft Windows

File and Printer Sharing with Microsoft Windows Operating System File and Printer Sharing with Microsoft Windows Microsoft Corporation Published: November 2003 Abstract File and printer sharing in Microsoft Windows allows you to share the contents of

More information

Server Consolidation with SQL Server 2008

Server Consolidation with SQL Server 2008 Server Consolidation with SQL Server 2008 White Paper Published: August 2007 Updated: July 2008 Summary: Microsoft SQL Server 2008 supports multiple options for server consolidation, providing organizations

More information

Microsoft Dynamics GP Release

Microsoft Dynamics GP Release Microsoft Dynamics GP Release Workflow Installation and Upgrade Guide February 17, 2011 Copyright Copyright 2011 Microsoft. All rights reserved. Limitation of liability This document is provided as-is.

More information

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë 14.1 bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë bî~äì~íáåö=oéñäéåíáçå=ñçê=emi=rkfui=~åç=lééåsjp=eçëíë This guide walks you quickly through key Reflection features. It covers: Getting Connected

More information

New 11g Features in Oracle Developer Tools for Visual Studio. An Oracle White Paper January 2008

New 11g Features in Oracle Developer Tools for Visual Studio. An Oracle White Paper January 2008 New 11g Features in Oracle Developer Tools for Visual Studio An Oracle White Paper January 2008 New 11g Features in Oracle Developer Tools for Visual Studio Introduction... 3 Integration with Visual Studio

More information

Report Designer and Report Designer Add-In Installation Guide Version 1.0

Report Designer and Report Designer Add-In Installation Guide Version 1.0 Table of Contents Report Designer and Report Designer Add-In Installation Guide Version 1.0 Table of Contents The software described in this document is protected by copyright, and may not be copied on

More information

Installing CaseMap Server User Guide

Installing CaseMap Server User Guide Installing CaseMap Server User Guide CaseMap Server, Version 1.8 System Requirements Installing CaseMap Server Installing the CaseMap Admin Console Installing the CaseMap SQL Import Utility Testing Installation

More information

Reporting Services. White Paper. Published: August 2007 Updated: July 2008

Reporting Services. White Paper. Published: August 2007 Updated: July 2008 Reporting Services White Paper Published: August 2007 Updated: July 2008 Summary: Microsoft SQL Server 2008 Reporting Services provides a complete server-based platform that is designed to support a wide

More information

Pipeliner CRM Phaenomena Guide Sales Target Tracking. 2015 Pipelinersales Inc. www.pipelinersales.com

Pipeliner CRM Phaenomena Guide Sales Target Tracking. 2015 Pipelinersales Inc. www.pipelinersales.com Sales Target Tracking 05 Pipelinersales Inc. www.pipelinersales.com Sales Target Tracking Learn how to set up Sales Target with Pipeliner Sales CRM Application. CONTENT. Setting up Sales Dynamic Target

More information

Selecting the Best Development Technology for Your Application Development Scenario

Selecting the Best Development Technology for Your Application Development Scenario Microsoft Dynamics AX 2012 Selecting the Best Development Technology for Your Application Development Scenario White Paper This white paper provides an overview of the common development patterns, programming

More information

Management Center. Installation and Upgrade Guide. Version 8 FR4

Management Center. Installation and Upgrade Guide. Version 8 FR4 Management Center Installation and Upgrade Guide Version 8 FR4 APPSENSE MANAGEMENT CENTER INSTALLATION AND UPGRADE GUIDE ii AppSense Limited, 2012 All rights reserved. part of this document may be produced

More information

Online Transaction Processing in SQL Server 2008

Online Transaction Processing in SQL Server 2008 Online Transaction Processing in SQL Server 2008 White Paper Published: August 2007 Updated: July 2008 Summary: Microsoft SQL Server 2008 provides a database platform that is optimized for today s applications,

More information

For Active Directory Installation Guide

For Active Directory Installation Guide For Active Directory Installation Guide Version 2.5.2 April 2010 Copyright 2010 Legal Notices makes no representations or warranties with respect to the contents or use of this documentation, and specifically

More information

Project management integrated into Outlook

Project management integrated into Outlook y Project management integrated into Outlook InLoox 6.x deployment via Group Policy An InLoox Whitepaper Published: February 2011 You can find up-to-date information at http://www.inloox.com The information

More information

Project management integrated into Outlook

Project management integrated into Outlook y Project management integrated into Outlook InLoox PM 7.x deployment via Group Policy An InLoox Whitepaper Published: October 2011 You can find up-to-date information at http://www.inloox.com The information

More information

Foglight 1.0.0.0. Cartridge for Active Directory Installation Guide

Foglight 1.0.0.0. Cartridge for Active Directory Installation Guide Foglight 1.0.0.0 Cartridge for Active Directory Installation Guide 2010 Quest Software, Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The software described

More information

Installation Guide for Pulse on Windows Server 2012

Installation Guide for Pulse on Windows Server 2012 MadCap Software Installation Guide for Pulse on Windows Server 2012 Pulse Copyright 2014 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software

More information

HR Onboarding Solution

HR Onboarding Solution HR Onboarding Solution Installation and Setup Guide Version: 3.0.x Compatible with ImageNow Version: 6.7.x Written by: Product Documentation, R&D Date: November 2014 2014 Perceptive Software. All rights

More information

Jet Data Manager 2012 User Guide

Jet Data Manager 2012 User Guide Jet Data Manager 2012 User Guide Welcome This documentation provides descriptions of the concepts and features of the Jet Data Manager and how to use with them. With the Jet Data Manager you can transform

More information

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports Publication Date: Oct 18, 2011 EventTracker 8815 Centre Park Drive Columbia MD 21045 www.eventtracker.com About This Guide Abstract

More information

Interworks. Interworks Cloud Platform Installation Guide

Interworks. Interworks Cloud Platform Installation Guide Interworks Interworks Cloud Platform Installation Guide Published: March, 2014 This document contains information proprietary to Interworks and its receipt or possession does not convey any rights to reproduce,

More information

StreamServe Persuasion SP4

StreamServe Persuasion SP4 StreamServe Persuasion SP4 Installation Guide Rev B StreamServe Persuasion SP4 Installation Guide Rev B 2001-2009 STREAMSERVE, INC. ALL RIGHTS RESERVED United States patent #7,127,520 No part of this document

More information

Deploying Personal Virtual Desktops by Using RemoteApp and Desktop Connection Step-by-Step Guide

Deploying Personal Virtual Desktops by Using RemoteApp and Desktop Connection Step-by-Step Guide c623242f-20f0-40fe-b5c1-8412a094fdc7 Deploying Personal Virtual Desktops by Using RemoteApp and Desktop Connection Step-by-Step Guide Microsoft Corporation Published: June 2009 Updated: April 2010 Abstract

More information

IBM Configuring Rational Insight 1.0.1.1 and later for Rational Asset Manager

IBM Configuring Rational Insight 1.0.1.1 and later for Rational Asset Manager IBM Configuring Rational Insight 1.0.1.1 and later for Rational Asset Manager Rational Insight and Rational Asset Manager...4 Prerequisites...5 Configuring the XML data configuration for Rational Asset

More information

IBM VisualAge for Java,Version3.5. Remote Access to Tool API

IBM VisualAge for Java,Version3.5. Remote Access to Tool API IBM VisualAge for Java,Version3.5 Remote Access to Tool API Note! Before using this information and the product it supports, be sure to read the general information under Notices. Edition notice This edition

More information

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication Technical Paper Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication Release Information Content Version: 1.0 October 2015. Trademarks and Patents SAS Institute

More information

Managing Linux Servers with System Center 2012 R2

Managing Linux Servers with System Center 2012 R2 Managing Linux Servers with System Center 2012 R2 System Center 2012 R2 Hands-on lab In this lab, you will use System Center 2012 R2 Operations Manager and System Center 2012 R2 Configuration Manager to

More information

Troubleshooting File and Printer Sharing in Microsoft Windows XP

Troubleshooting File and Printer Sharing in Microsoft Windows XP Operating System Troubleshooting File and Printer Sharing in Microsoft Windows XP Microsoft Corporation Published: November 2003 Updated: August 2004 Abstract File and printer sharing for Microsoft Windows

More information

AD RMS Step-by-Step Guide

AD RMS Step-by-Step Guide AD RMS Step-by-Step Guide Microsoft Corporation Published: March 2008 Author: Brian Lich Editor: Carolyn Eller Abstract This step-by-step guide provides instructions for setting up a test environment to

More information