Data Migration and Backup Strategies

Total Page:16

File Type:pdf, Size:1020Kb

Data Migration and Backup Strategies CHAPTER 4 Data Migration and Backup Strategies When companies talk about their research into or experiences with the Azure technology—specifically the SQL side of Azure—two of their most frequent concerns (aside from security) are migrating local databases and data into the cloud, and backup strategies. Until Azure came around, databases were housed locally (and they still are): they’re contained within the walls of the company or in a data center. Moving to the Azure platform and SQL Azure means moving all or a portion of your data into the cloud and storing it there. Chapter 3 talked at length about security concerns, considerations, and best practices for storing your precious data in the cloud. Moving data into the cloud is a decision that you shouldn’t and can’t take lightly. But after you make the decision to utilize SQL Azure, the question becomes, how do you get your data into the cloud? As nice as it would be if moving your local database into SQL Azure was seamless, it isn’t as cut-and-dried as you may think. You do have several viable options available; but you must consider things beyond just moving the data, such as costs from data transfers. After your data is in the cloud, further questions arise regarding the backup strategies that are common with local databases. In SQL Azure, gone are the concepts of backup devices and backing up and restoring databases. As shocking as this may sound, remember that Microsoft is managing the hardware behind the scenes. For now, there are no such things as drives, devices, and so on. In this chapter we will discuss the different migration tools, strategies, and concepts for moving your database and data into the cloud. You’ll see examples illustrating how these tools are used. We’ll finish the chapter off by spending a page or two on backup strategies and tools that help provide SQL Database backup capabilities. Migrating Databases and Data to SQL Azure So you want to move one or more of your applications and its databases to the cloud. It’s a noble idea. More than likely, you’re in the same category as countless others who are looking into moving applications into the cloud: you don’t want to start from scratch. You’d rather migrate an existing application to the cloud, but you aren’t sure about the steps necessary to do so, or the technologies available to help in the process. This section discusses three tools from Microsoft that come as part of SQL Server: • The Import/Export Service • The Generate and Publish Scripts Wizard • The bcp utility In addition to these three tools, we will also briefly mention a free utility found on CodePlex called the SQL Azure Migration Wizard, which provides a wizard-driven interface to walk you through migrating your database and data to SQL Azure. The examples in this chapter use SQL Server 2012, which is available from Microsoft’s MSDN site. These examples also work with SQL Server 2008, although some the screens may be a bit different. 67 CHAPTER 4 ■ DATA MIGRATION AND BACKUP STRATEGIES The database you use in these examples is AWMini, which is a mini version of the AdventureWorks database. This database can be downloaded from the APress site for this book. The Import/Export Service In 2012 Microsoft released some great functionality for migrating an on-premises database to SQL Azure in the form of the Import/Export service. To understand what this service is and how it works, you first need to know about the Data-Tier Application Framework, more commonly known as DAC Fx. Data-Tier Application Framework DAC Fx was introduced in SQL Server 2008 R2 as part of the Application and Multi-Server Management services, a way to manage your database environments efficiently and proactively. It was designed with scale in mind to provide an effective way to manage the deployment of the database schema between environments, such as from Development to Test, and Test to Production. DAC Fx is a set of tools, APIs, and services designed to improve the development, deployment and management of SQL Server database schemas. In most environments, the DBA creates and maintains sets of T-SQL scripts that create or alter database objects, such as tables and stored procedures. The issue is that in many instances the DBAs need to maintain multiple sets of scripts; one for the initial creation and another for updates and modifications that update the database from one version to another. Add on top of that multiple versions of those scripts, and you have the makings of a complex maintenance scenario. This is where DAC Fx comes in. Instead of building and maintaining sets of T-SQL scripts, SQL Server 2008 R2 introduced the concept of a BACPAC. A DAC, or Data-Tier Application, is an entity that contains all of the database objects used by an application. Its purpose is to provide a single unit for creating, deploying, and managing objects instead of managing each object individually. When a DAC is ready to be deployed, it is built into a DAC package, or DACPAC. This package is a file that contains the DAC definition, and is simply a zip file containing multiple XML files. However, these DACPACs only contain schema, not data. This is where the new version of the DAC Fx comes in. Version 2.0 now supports data as well as schema, dumping your table data right alongside your schema in a new file format called .bacpac. Using the DAC Fx, you can now extract a BACPAC from an existing database and deploy it to a different SQL Server environment, including, wait for it . SQL Azure. Now, it should be noted that SQL Server 2012 comes with the DAC Fx version 2.0 and the ability to export to a BACPAC. The next two sections are going to walk you through creating and deploying BACPACs using SQL Server 2012. You will see how the Import/Export service is used in the Windows Azure Management Portal to import and export to and from a SQL Azure database. Deploying to SQL Azure via a BACPAC using SQL Server 2012 For all those who have not upgraded to SQL Server 2012 the next session will address that, but for now, this section will use SQL Server 2012. First you’ll see how to deploy an on-premises database directly to SQL Azure, and then how to use the built-in import and export features to migrate using BACPACs from SQL Server 2012. Keep in mind that all of the examples in this section assume that your database is Azure-ready, meaning that your on-premises SQL Server database is ready to be migrated to SQL Azure. For example, if you were to download the full AdventureWorks database, such as the SQL Server 2008 R2 version, and then try to walk through the examples in this section, the examples in this section will fail due to objects that aren’t supported in Windows Azure SQL Database (such as native encryption and Full Text Search). The section “Generate and Publish Scripts Wizard” in this chapter explains how to make your database Azure-ready by taking an on-premise database and applying the appropriate modifications and changes. More importantly, it also explains why those changes need to be made. 68 CHAPTER 4 ■ DATA MIGRATION AND BACKUP STRATEGIES The database that these samples use is a database called AWMini, which is a mini version of the AdventureWorks database. This database can be downloaded from the Apress download page for this book. This database is installed Azure-ready so that you can walk though these examples. Download the AWMini.zip file from the APress site for this book and extract the .sql file. Open the .sql file in SQL Server Management Studio (for SQL Server 2012) and connect to your local SQL instance. Run the .sql file, which will create the AWMini database. Once the script has completed, refresh your database list and you’ll see the new AWMini database in your list of databases. Deploying Directly To SQL Azure SQL Server 2012 has made it extremely easy to migrate an on-premises database to SQL Azure. Prior to SQL Server 2012, the options for migration required many steps, were somewhat painful, and didn’t really fit the DAC picture, simply because DACPACs didn’t migrate data. This all changed with SQL Server 2012 and DAC Fx 2.0. Deploying directly to SQL Azure is as simple as a three-step wizard. If it’s not already open, open SQL Server Management Studio for SQL Server 2012. In Object Explorer, expand the Databases node for your server and right-click the AWMini database. From the context menu, select Tasks ➤ Deploy Database to SQL Azure, which will start the database deployment wizard (see Figure 4-1). Figure 4-1. The Deploy Database to SQL Azure menu option In the Deploy Database wizard, click Next on the Introduction page. On the Deployment Settings page of the wizard, you need to specify the connection information for the target SQL Azure server to which the database will be migrated. Click the Connect button, which will bring up the familiar Connect to Server dialog. Enter the SQL Azure server name (in the format server.windows.database.net), along with the username and password for the SQL Azure server, and then click Connect. Next, enter a name for the database (see Figure 4-2). As the wizard states, this is a NEW database, not the name of an existing one.
Recommended publications
  • The Following Documentation Is an Electronically‐ Submitted Vendor Response to an Advertised Solicitation from the West
    The following documentation is an electronically‐ submitted vendor response to an advertised solicitation from the West Virginia Purchasing Bulletin within the Vendor Self‐Service portal at wvOASIS.gov. As part of the State of West Virginia’s procurement process, and to maintain the transparency of the bid‐opening process, this documentation submitted online is publicly posted by the West Virginia Purchasing Division at WVPurchasing.gov with any other vendor responses to this solicitation submitted to the Purchasing Division in hard copy format. Purchasing Division State of West Virginia 2019 Washington Street East Solicitation Response Post Office Box 50130 Charleston, WV 25305-0130 Proc Folder : 702868 Solicitation Description : Addendum No 2 Supplemental Staffing for Microsoft Applicatio Proc Type : Central Contract - Fixed Amt Date issued Solicitation Closes Solicitation Response Version 2020-06-10 SR 1300 ESR06092000000007338 1 13:30:00 VENDOR VS0000020585 Cambay Consulting LLC Solicitation Number: CRFQ 1300 STO2000000002 Total Bid : $370,750.00 Response Date: 2020-06-09 Response Time: 09:51:40 Comments: FOR INFORMATION CONTACT THE BUYER Melissa Pettrey (304) 558-0094 [email protected] Signature on File FEIN # DATE All offers subject to all terms and conditions contained in this solicitation Page : 1 FORM ID : WV-PRC-SR-001 Line Comm Ln Desc Qty Unit Issue Unit Price Ln Total Or Contract Amount 1 Temporary information technology 2000.00000 HOUR $72.170000 $144,340.00 software developers Comm Code Manufacturer Specification
    [Show full text]
  • Simple Talk Newsletter, 14Th May 2012
    What Counts For a DBA: Imagination Published Thursday, May 10, 2012 10:36 PM "Imagination…One little spark, of inspiration… is at the heart, of all creation." – From the song "One Little Spark", by the Sherman Brothers I have a confession to make. Despite my great enthusiasm for databases and programming, it occurs to me that every database system I've ever worked on has been, in terms of its inputs and outputs, downright dull. Most have been glorified e-spreadsheets, many replacing manual systems built on actual spreadsheets. I've created a lot of database-driven software whose main job was to "count stuff"; phone calls, web visitors, payments, donations, pieces of equipment and so on. Sometimes, instead of counting stuff, the database recorded values from other stuff, such as data from sensors or networking devices. Yee hah! So how do we, as DBAs, maintain high standards and high spirits when we realize that so much of our work would fail to raise the pulse of even the most easily excitable soul? The answer lies in our imagination. To understand what I mean by this, consider a role that, in terms of its output, offers an extreme counterpoint to that of the DBA: the Disney Imagineer. Their job is to design Disney's Theme Parks, of which I'm a huge fan. To me this has always seemed like a fascinating and exciting job. What must an Imagineer do, every day, to inspire the feats of creativity that are so clearly evident in those spectacular rides and shows? Here, if ever there was one, is a role where "dull moments" must be rare indeed, surely? I wanted to find out, and so parted with a considerable sum of money for my wife and I to have lunch with one; I reasoned that if I found one small way to apply their secrets to my own career, it would be money well spent.
    [Show full text]
  • SQL+Comparison+SDK+10.Pdf
    1. SQL Comparison SDK 10 documentation . 2 1.1 Installing . 3 1.2 Licensing and distribution . 4 1.2.1 Licensing the SQL Comparison SDK . 5 1.2.2 Licensing for ASP.NET applications . 6 1.2.3 Distributing your SDK applications . 7 1.2.4 Licensing automated builds with NAnt . 8 1.2.5 Licensing SDK applications in Visual Studio 2010 . 11 1.2.6 Manually licensing Redgate assemblies . 12 1.3 Breaking changes in SQL Comparison SDK 10.5 . 13 1.4 Getting more from the SQL Comparsion SDK . 15 1.4.1 Creating an HTML report of schema differences in C# . 16 1.4.2 Creating an HTML report of schema differences in Visual Basic .NET . 23 1.4.3 Creating a deployment script without batch markers . 30 1.4.4 Running SQL code inside SQL Comparison SDK applications . 31 1.4.5 Using SQL Data Compare mappings in projects using the API . 32 1.4.6 Excluding a table from a data comparison . 35 1.4.7 Executing your own SQL queries together with SDK synchronization . 36 1.5 Troubleshooting . 39 1.5.1 Troubleshooting the SQL Comparison SDK . 40 1.5.2 'Error 1603' occurring during installation . 42 1.5.3 SQL Compare deployment error 'Full-Text Search is not installed' . 43 1.5.4 Application licensing invalidated by renaming assembly . 44 1.5.5 Compatibility of SQL Comparison SDK in 64-bit environments . 45 1.5.6 Licenses.licx is not a valid Win32 application . 46 1.6 Release notes and other versions . 47 1.6.1 SQL Comparison SDK 10.7 release notes .
    [Show full text]
  • 1. ANTS Memory Profiler 7 Documentation
    1. ANTS Memory Profiler 7 documentation . 3 1.1 Requirements . 4 1.2 Installing . 5 1.3 Licensing . 6 1.3.1 Activating . 7 1.3.2 Deactivating . 13 1.3.3 Troubleshooting licensing and activation . 16 1.4 Upgrading . 19 1.4.1 Upgrading to ANTS Memory Profiler 7 . 20 1.4.2 Using Check for Updates . 22 1.4.3 Troubleshooting Check for Updates errors . 24 1.5 Understanding memory problems . 25 1.5.1 Memory management primer . 26 1.5.2 Understanding ANTS Memory Profiler . 30 1.6 Setting up and running a profiling session . 31 1.6.1 Profiling an executable . 32 1.6.2 Profiling a web application . 33 1.6.2.1 Profiling on IIS . 34 1.6.2.2 Profiling on IIS Express . 35 1.6.2.3 Profiling on web development server . 36 1.6.2.4 Profiling SharePoint . 37 1.6.2.4.1 Profiling SharePoint 2010 . 39 1.6.3 Profiling a Silverlight application . 40 1.6.4 Profiling a Windows service . 42 1.6.5 Profiling COMplus servers . 43 1.6.6 Profiling XBAPs . 45 1.6.7 Attaching to a process . 47 1.6.7.1 Forcing your application to use .NET 4 . 49 1.6.8 Setting up performance counters . 50 1.6.8.1 Adding custom performance counters . 52 1.6.9 Using the Visual Studio add-in . 53 1.7 Strategies for memory profiling . 54 1.7.1 Checking for large object heap fragmentation . 55 1.7.1.1 Fragmentation notices in ANTS Memory Profiler 7 .
    [Show full text]
  • Redgate Compare Database Schema
    Redgate Compare Database Schema Is Jean-Pierre surmountable when Pail mosey meltingly? Suffruticose Kelley vulcanising iconically. Tabbie localise unquietly. Review the length can be identical, redgate database consistent at each stage and synchronisation mechanism for the need consulting professionals who can communicate effectively when the last trigger It crawls every other oracle schemas a redgate database schema compare should end encrypted, redgate sql source databases, triggers and update script to a column is. The command line arguments cannot be properly executed. The redgate compare database schema comparison tool will help! Visit and find the perfect comic strip or editorial cartoon for your presentation, textbook, and other publication need. An unhandled exception occurred. Forms application as example. Retaining the length and Data types: As the masking happens at the database level, Data types should be carefully observed. Derivatives are grouped by compare database schema precisely what database compare only appear depending upon import. Well, I intend to participate. It is worth noting that the tool does a differential comparison, so it deploys only the objects that are out of sync, reducing significantly the deploy times after the first run. Still one database at a time. Correct order does anyone who have no longer updates a redgate compare database schema in other time by default. Then you can save the comparison so that you can easily repeat the same comparison later or use it as the starting point for new comparison. Text representing the original file or folder being imported. Webform on the redgate database schema compare two files folder to list will be easily express yourself instantly with oracle.
    [Show full text]
  • ANTS Performance Profiler 6.3 July 2011
    ANTS Performance Profiler 6.3 July 2011 Note: these pages apply to a version of this product that is not the current released version. For the latest support documentation, please see http://documentation.red-gate.com Contents © Red Gate Software Ltd 2 Getting started .................................................................................................... 5 Worked example: Profiling performance of an algorithm ........................................... 6 Worked example: Profiling network overheads ....................................................... 10 Worked example: Profiling an ASP.NET application ................................................. 12 Worked example: Profiling from the command line ................................................. 17 Worked example: Profiling SQL queries ................................................................. 20 Setting up and running a profiling session ............................................................. 25 Working with application settings ......................................................................... 27 Setting up Charting Options ................................................................................ 30 Profiling .NET executables ................................................................................... 32 Profiling managed code add-ins ........................................................................... 33 Profiling ASP.NET applications running on IIS ........................................................ 35 Profiling SharePoint
    [Show full text]
  • Simple Talk Newsletter, 5Th March 2012
    No Significant Fragmentation? Look Closer… 28 February 2012 by Luciano Moreira If you are relying on using 'best-practice' percentage-based thresholds when you are creating an index maintenance plan for a SQL Server that checks the fragmentation in your pages, you may miss occasional 'edge' conditions on larger tables that will cause severe degradation in performance. It is worth being aware of patterns of data access in particular tables when judging the best threshold figure to use. n this article I’ll be describing an edge case related to logical and internal fragmentation within a specific index branch that may cause Iperformance issues, and also I’d like to contribute to the debate about the use of “global” thresholds for your maintenance plans. Let’s suppose you have a table with a structure that holds 5 rows per page and leaves almost no space to accommodate changes. After a complete index rebuild with a fillfactor of 100%, the pages would be almost full and you should see a minimal logical fragmentation in your index. Here is the script to generate the initial state of our database. Script 01 – Create database and tables with records CREATE DATABASE SimpleTalk GO USE SimpleTalk GO IF EXISTS (SELECT [name] FROM sys.tables WHERE [name] = 'HistoricalTable') DROP TABLE HistoricalTable GO CREATE TABLE HistoricalTable ( ID INT IDENTITY NOT NULL CONSTRAINT PK_ID PRIMARY KEY , ColumnA VARCHAR(1590) NULL , ColumnB VARCHAR(1000) NULL , EventDate DATETIME NULL ) GO -- Insert some records to simulate our history INSERT INTO HistoricalTable (ColumnA) VALUES (REPLICATE('SimpleTalk', 159)) GO 100000 UPDATE HistoricalTable SET EventDate = DATEADD(HOUR, ID - 100000, GETDATE()) GO ALTER TABLE dbo.HistoricalTable REBUILD WITH (FILLFACTOR = 100) GO Great! As many other DBAs would do, you take care of your indexes and deploy a maintenance plan that checks the fragmentation in your pages: If a certain threshold is met, and a 30% fragmentation is commonly mentioned, you would start a task to rebuild your indexes (let’s put reorganization aside for the sake of simplicity).
    [Show full text]
  • Aleksandar Tashev CV(En)
    Aleksandar Tashev E-mail: [email protected] Website: http://lnked.in/aleksandartashev Phone: +38977913525 TECHNICAL - Programming: C#, ASP.NET WebForms, ASP.NET MVC, ASP.NET Web API, SKILLS ASP.NET Core, ASP.NET SignalR - Database: MSSQL, MySQL - ORM: CodeSmith netTiers, Entity Framework, Entity Framework Core - Front-end: JavaScript, Angular 2+, jQuery, HTML, CSS - .NET UI tools: DevExpress Controls, Telerik Controls - Testing: Xunit, Moq, Selenium Browser Automation - Tracking systems: JIRA, Visual Studio Team Services - Source control tools: GIT (BitBucket), TFS, SVN - PSA software integration: Autotask, ConnectWise, SalesForce, Zendesk, Kaseya - Other tools: JetBrains ReSharper, Redgate SQL Compare, Redgate SQL Data Compare, Redgate SQL Source Control WORK Personal Programmer March 2020 — Present EXPERIENCE Senior Software Engineer / Team Lead Working as .NET developer on data-driven cloud products built on top of Microsoft technology stack. syNRG software & IT April 2018 — February 2020 solutions Senior Software Developer Developing & maintaining legacy software for the Help Desk industry while working as an integration developer on a software that connects multiple platforms including Autotask,ConnectWise, Zendesk, Kaseya, Salesfroce.Developed new APIs that communicate with Zabbix, Dynamics 365, FrontApp and Freshdesk. Working as part of a team on legacy software tools such as chat app, reporting dashboard and other company owned apps/services. The ServicePro December 2017 — March 2018 .NET Consultant Day to day activities include: - Direct reporting to the PM in charge. - Daily meetings with the team of developers/QA engineers. - Development of new functionalities in the system. - Troubleshooting and resolving tickets reported by clients. Babylon Software Solution June 2017 — November 2017 Development Team Lead (.NET) Aleksandar Tashev 1 - Leading a team of software developers while working on one of the company's biggest international project (for the events industry).
    [Show full text]
  • Visual Studio 2017 All You Need to Deliver Any App on Any Platform
    Grey Matter Issue 71 | Spring 2017 Building on 34 years of software know how Visual Studio 2017 All you need to deliver any app on any platform Cloud Security Keeping your data secure and legal WIN! See page 8 Lifecycle Management for details How Visual Studio 2017 can help with ALM Contents Editorial Editor: .....................................................................Matt Nicholson Technical editors: .. Sean Wilson, Paul Edwards Editorial advisor: ............................................Julia Hopkins News editor: ...................................................... Paul Stephens Publisher: ..................................................................Andrew King Contributors: ........Tim Anderson, Simon Bisson, Mary Branscombe, Kay Ewbank, Jon Visual Studio 2017 Security in the cloud Honeyball, Graham Keitch, Paul Stephens 10 22 Design and layout: ..................................... Jason Stanley The latest version of Microsoft’s flagship How to stay secure and legal when Illustration: ............................................................Sholto Walker development suite. you’re operating in the cloud. Web Design: ........................................................Jason Stanley Advertising & Circulation Software News Marketing: ............................................................Leanne Bevan Welcome 4 GrapeCity, Intel, Microsoft, Redgate, Security and privacy are two sides of a coin that has long bugged Trimble and more. 01364 654100 our society. On the one hand most of us consider that we have
    [Show full text]
  • Simple Talk 21St Feb 2011]
    Homepage Opportunity Nokia's [Thu, 17 Feb 00:00] The editor finds hope in Microsoft's alliance with Nokia. These are two companies that need each other's help in the Smartphone market, and the result could surprise the industry.... Correlating SQL Server Profiler with Performance Monitor [Wed, 16 Feb 00:00] Both Performance Monitor and SQL Server Profiler provide valuable information about your server. However, if you combine the data from the two sources, then this correlated information can help find some of the subtler bugs. Brad explains how. SQL Scripts Manager with PowerShell [Thu, 17 Feb 00:00] SQL Scripts Manager was released as a Christmas present to Simple-Talk subscribers. William Brewer then wrote an appreciation of the tool. Now, he reveals a secret:: It also runs PowerShell scripts, and hence, SMO. He has the scripts to prove it, though hopefully, you'll soon be running your own PowerShell from SQL Scripts Manager. What Counts for a DBA: Skill [Tue, 15 Feb 00:00] “Practice makes perfect:” right? Well, not exactly. Different types of programming require different skill sets and you as a programmer must recognize the difference between the procedural languages and SQL, and treat them differently. Skill comes from practicing doing things the right way and making “right” a habit. Look-up Tables in SQL [Tue, 01 Feb 00:00] Lookup tables can be a force for good in a relational database. Whereas the 'One True Lookup Table' remains a classic of bad database design, an auxiliary table that holds static data, and is used to lookup values, still has powerful magic.
    [Show full text]
  • 1. ANTS Performance Profiler 7 Documentation
    1. ANTS Performance Profiler 7 documentation . 3 1.1 Requirements . 4 1.2 Installing . 5 1.3 Licensing . 6 1.3.1 Activating . 7 1.3.2 Deactivating . 13 1.3.3 Troubleshooting licensing and activation . 16 1.4 Upgrading . 19 1.4.1 Using Check for Updates . 20 1.4.2 Troubleshooting Check for Updates errors . 22 1.5 Setting up and running a profiling session . 24 1.5.1 Working with Application Settings . 26 1.5.2 Setting up Charting Options . 30 1.5.3 ANTS Performance Profiler Options . 32 1.5.4 Profiling .NET executables . 34 1.5.5 Profiling managed code add-ins . 35 1.5.6 Profiling ASP.NET applications running on IIS . 36 1.5.7 Profiling ASP.NET applications running on the web development server . 39 1.5.8 Profiling ASP.NET applications running on IIS Express . 41 1.5.9 Profiling SharePoint . 43 1.5.10 Profiling Silverlight applications . 45 1.5.11 Profiling Windows services . 47 1.5.12 Profiling a COMplus server application . 49 1.5.13 Profiling XBAP applications . 52 1.5.14 Attaching to a running .NET 4 process . 53 1.5.15 Profiling SQL queries in ANTS Performance Profiler 7.2 and later . 55 1.5.16 Profiling SQL queries in ANTS Performance Profiler 7.0 . 56 1.5.17 Profiling File IO . 60 1.5.18 Profiling tests in MSTest . 64 1.5.19 Profiling from the command line (API) . 65 1.5.20 Integrating ANTS Performance Profiler in a test procedure . 70 1.5.21 Using the Visual Studio add-in .
    [Show full text]
  • 1. SQL Packager 7 Documentation
    1. SQL Packager 7 documentation . 2 1.1 Requirements . 3 1.2 Installing . 4 1.3 Licensing . 5 1.3.1 Activating . 6 1.3.2 Deactivating . 12 1.3.3 Troubleshooting licensing and activation . 15 1.4 Upgrading . 18 1.4.1 Using Check for Updates . 19 1.4.2 Troubleshooting Check for Updates errors . 21 1.5 Creating the package . 22 1.5.1 Working with projects . 23 1.5.2 Choosing a project type . 24 1.5.3 Specifying the package contents . 25 1.5.4 Previewing the SQL scripts . 31 1.5.5 Generating a package . 33 1.5.5.1 Generating a .NET executable . 34 1.5.5.2 Generating a C# project . 36 1.5.6 Entering extra package information . 38 1.6 Running the package . 40 1.6.1 Understanding the results . 43 1.7 Setting packaging options . 45 1.7.1 Setting schema packaging options . 46 1.7.2 Setting data packaging options . 51 1.7.3 Setting SQL Packager options . 54 1.8 Using the command line . 55 1.8.1 Basic command line features . 56 1.8.2 Examples using the command line . 58 1.8.3 Frequently asked questions for the command line . 59 1.8.4 Integrating the command line with applications . 60 1.8.5 Using XML to specify command line arguments . 61 1.9 Worked examples . 62 1.9.1 Packaging a database as a .NET executable . 63 1.9.2 Packaging an upgrade as a C# project . 68 1.10 Getting more out of SQL Packager .
    [Show full text]