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.
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
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
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.
Chapter 2: SQL – The Basics Objectives: 1.The SQL execution environment 2.SELECT statement 3.SQL Developer & SQL*Plus.
Database Change Management One solution to an often complex problem Kevin Hurwitz Headspring Systems
Database projects in visual studio 2010 Anthony Brown
Database Projects in Visual Studio Improving Reliability & Productivity.
Neil Kidd Developer Tools Technical Specialist Microsoft UK.
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.
Introduction ITEC 420.
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
Visual Studio Database Tools (aka SQL Server Data Tools)
SQL Server deployments
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Database Management  .
Download Microsoft Exam Dumps - Valid Microsoft Question Answers - Realexamdumps.com
Bringing DevOps to the Database
SQL Server Data Tools Gert Drapers
Populating a Data Warehouse
Populating a Data Warehouse
Prove to your boss your database is sound - Unit Testing with tSQLt
“5 Minutes to WOW”, but HOW?
Populating a Data Warehouse
Populating a Data Warehouse
Bringing DevOps to the Database
Please thank our sponsors!
Database Projects and Source Control (TFS)
DAT381 Team Development with SQL Server 2005
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
Power BI.
Data Definition Language
Chapter 11 Managing Databases with SQL Server 2000
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.
Michelle Haarhues Keeping up with SSMS.
Keeping your SQL Code safe
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
T-SQL: Simple Changes That Go a Long Way
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 Louisville SQL Server Users Group Chapter Lead BI Architect davef@rollinghillsky.com

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 2014 and prior versions)  Visual Studio 2012 SQL Server Data Tools (SQL Server 2014 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 in a VS project Schemas, tables, views Stored procedures, functions, triggers Anything that can be defined in SSMS can be defined in a 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 needed to update 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 VS project and import database 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 SSMS query window and running that code is easy 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 or server to project Server to server (development to test, test to QA, QA to production, etc.) Use snapshots of project to “freeze” 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

Louisville SQL Server Users Group Q&A Dave Fackler davef@rollinghillsky.com (270) 945-5070 Louisville SQL Server Users Group http://louisville.sqlpass.org