Visual Studio Database Tools (aka SQL Server Data Tools)

Slides:



Advertisements
Similar presentations
Black marble the strategic IT asset for your organisation DEVELOPMENT LIFE CYCLE USING VISUAL STUDIO TEAM EDITION FOR DB PROFESSIONALS Richard Fennell.
Advertisements

Development Life Cycle using Visual Studio Team Edition for DB Professionals Richard Fennell Engineering Director SQLBits II Birmingham 1 st March 2008.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
MSDN TechTalk Agenda Visual Studio Team Edition for Database Professionals 08:30 – 09:00 Registration 09: :15 (Roger Boesch, Microsoft Schweiz) Einbindung.
(code name: Data Dude) Josh Robinson Aculix.
René Balzano Technology Solution Professional Data Platform Microsoft Switzerland Database Development with SQL Server Data Tools (SSDT)
SQL Server 2008 Basmah AlQadheeb-213 MIS What is a Database ? A database is a collection of Data that is organized so that it can easily be accessed,
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
SQL Server Reporting Services
Oracle Developer Tools for Visual Studio.NET Curtis Rempe.
Data-tier Application, Import, Refactoring, Publish, Schema Comparison, Database Unit Testing Borislav Statev Telerik Software Academy academy.telerik.com.
How a little code can help with support.. Chris Barba – Developer at Cimarex Energy Blog:
Database Design for DNN Developers Sebastian Leupold.
SQL Server 2008 R2 for the DBA Patrick LeBlanc. Objectives  New Editions  Datacenter  Parallel Data Warehouse  Multi-server management  Utility Control.
Expression Web 3... now with TFS!. What is Expression Web 3? Professional web design and development tool Create standards-based Web sites faster & easier.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Database projects in visual studio 2010 Anthony Brown
Database Projects in Visual Studio Improving Reliability & Productivity.
Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011.
Visual Studio 2012: A Complete IDE (Debugging & Source Control) Kevin Howell.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
Others Talk, We Listen. Managing Database Projects in Visual Studio 2013.
Understanding Core Database Concepts Lesson 1. Objectives.
Top 10 Entity Framework Features Every Developer Should Know
Integrating Data Lesson 6.
Building Enterprise Applications Using Visual Studio®
SQL Compare & SQL Refactor
With Temporal Tables and More
Stress Free Deployments with Octopus Deploy
SQL 2016 R Services a.k.a. leveraging your local data lake
SQL Server deployments
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Download Microsoft Exam Dumps - Valid Microsoft Question Answers - Realexamdumps.com
Bringing DevOps to the Database
SQL Server Data Tools Gert Drapers
Continuous Integration For Databases
Populating a Data Warehouse
Populating a Data Warehouse
Getting Your DB Schema Under Control With SSDT
Prove to your boss your database is sound - Unit Testing with tSQLt
“5 Minutes to WOW”, but HOW?
Populating a Data Warehouse
Visual Studio Database Tools (aka SQL Server Data Tools)
Populating a Data Warehouse
Bringing DevOps to the Database
Microsoft SQL Server 2014 for Oracle DBAs Module 7
Please thank our sponsors!
Database Projects and Source Control (TFS)
DAT381 Team Development with SQL Server 2005
TechEd /18/2019 2:43 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Your code is not just…your code
Presented by : Chirag Dani & Dhaval Shah
SSDT and Database Project Basics
What about the Data Dude?
Introduction to VSTS Database Professional
Data Definition Language
Chapter 11 Managing Databases with SQL Server 2000
SQL Server Fundamentals for Beginners
Understanding Core Database Concepts
SSIS Data Integration Data Warehouse Acceleration
TechEd /28/ :34 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Windows Forms in Visual Studio 2005: An in-depth look at key features
Database Projects and Source Control (TFS)
SSIS Data Integration Data Warehouse Acceleration
PNW SQL Users Group August 10th, 2011
Just Enough SSIS Scripting to be Dangerous.
SSDT, Docker, and (Azure) DevOps
Your code is not just…your code
Dimension Load Patterns with Azure Data Factory Data Flows
Samir Behara, Senior Developer, EBSCO
Presentation transcript:

Visual Studio Database Tools (aka SQL Server Data Tools) Dave Fackler davef@rollinghillsky.com (270) 945-5070 http://www.linkedin.com/in/davefackler

Agenda Naming and version confusion Features of the database tools Using the database tools in the real world

Naming and Version Confusion Visual Studio 2013 Database tooling is built in (SQL Server 2012 and prior versions)  Visual Studio 2012 SQL Server Data Tools (SQL Server 2012 and prior versions)  Visual Studio 2010 SQL Server Data Tools is no longer available (believe it or not)  Visual Studio 2008 Visual Studio for Database Professionals is no longer available (sigh)  SQL Server Data Tools – BI (for VS 2012 and VS 2013) Separate download that provides the BI designers (really Microsoft??)  SQL Server Data Tools installed with SQL Server 2012 This is really just the SQL Server Data Tools – BI product for VS 2010 (wow) 

Features Import and manage/develop database objects Publish changes Schemas, tables, views Stored procedures, functions, triggers Anything that can be defined in SSMS can be defined in a database project Refactor support (change schema, rename objects/columns, etc.) Analyze database for “best practices” Publish changes Push changes from database project to database server Automatically generates all scripts required to handle updating database server Easy to publish to different servers (development, test, QA, production)

Demo

Features Schema compare Data compare SQL Server Object Explorer Compare database project to database deployed to server (or vice versa) Compare database project to snapshots of the project (or vice versa) Review all differences found, optionally update target from source Data compare Select tables (or views) with same schema on two servers Tables (or views) must be supported by primary key, unique index or constraint Review differences (only in source or target, different records, identical records) Optionally update target with data changes SQL Server Object Explorer

Demo

Using the Tools When creating a new database, I prefer to start in SSMS Create new database (files, filegroups, database options, etc.) Potentially create schemas Then create Visual Studio project and import database to new project When designing database objects, I tend to move back and forth I like the table design experience in Visual Studio (and love refactoring) For views and stored procedures, I tend to use both Highlighting code in an SSMS query window and running that code is common practice Doing the same in Visual Studio requires opening a separate query window Then I use Schema Compare, Publish, and Project Snapshots as needed

Using the Tools Using Schema Compare Using Data Compare I use this tool a LOT! Schema Compare to find differences and bring targets up-to-date Project to server, server to project Server to server (development to test, test to QA, QA to production, etc.) Use snapshots within the project to “freeze” the database design before major changes Using Data Compare Data Compare to find data differences and bring targets up-to-date Pull data from production to development, test, QA servers Compare data between servers to validate various changes across servers

Using the Tools Integration with TFS (or other source control system) Works well when database design is in a project in Visual Studio Check-out object designs, make changes, publish and test, check-in Use other TFS feature like View History, Compare, Work Items, etc. Works much better than SSMS’s integration with TFS For those most familiar with SSMS Moving to Visual Studio will seem like an alien (and cumbersome) environment But, features like the Table Designer, Schema Compare, etc. are nice to have BI Developers familiar with Visual Studio BI designers will be more at home For developers who work in Visual Studio most of the time Provides a nice feature set for designing and dealing with databases

Q&A Dave Fackler davef@rollinghillsky.com (270) 945-5070 http://www.linkedin.com/in/davefackler