Learn your way! Get started

SQL 2012 Developer, Part 07 of 13: Design and Deployment

with expert Don Kiely


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 4/29/2013
Level Advanced
Runtime 1h 50m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

In this course you will learn about a number of useful features in Data Tools, including its use for both online and offline database development. In online mode you can use the new SQL Server Object Explorer that provides many of the same features as Object Explorer in SQL Server’s Management Studio. You’ll see how to create databases and other objects as well as change existing objects. You’ll also see how to compare database schemas, a very useful tool used internally by the data tools that you can also use directly. In offline data base development you can create a database project using a Visual Studio template. You can ether import an existing database schema or create objects from scratch. You will see how both these modes work and see how you can publish changes to an existing database.

Prerequisites

This course assumes that you have a basic familiarity with the concept of relational databases and a basic understanding of what SQL Server is and the high-level tools in it, as well as how to create and manage objects using Management Studio. You should also have a basic understanding of how SQL Server implements security, including its authentication and authorization schemes, and how to assign permissions on securable objects to principals. You should know the fundamentals of Transact-SQL to write queries to retrieve and update data, and how to execute scripts using the query editor in Management Studio. The course spends a lot of time deep in T-SQL code, so you should feel comfortable writing basic queries that involve joins of multiple tables, as well as using built-in T-SQL functions and other code modules. It will be very helpful, but not absolutely necessary, to have experience with .NET development using Visual Studio 2010 or 2012 for the portions of the course that deal with SQL Server Data Tools.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
SQL Server Developer

Meet the expert

Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

Course outline



Data Tools

Introduction Data Tools (19:26)
  • Introduction (01:03)
  • Roots (02:09)
  • Goals for Database Edition (01:50)
  • Database Edition Flaws (01:34)
  • SQL Server Data Tools (02:32)
  • Kinds of Tasks (01:16)
  • Demo: SQL Server Data Tools (02:47)
  • Command-Line Tools (02:07)
  • Security (01:56)
  • Connected vs. Offline (01:46)
  • Summary (00:22)
Connected Database Development (20:02)
  • Introduction (01:15)
  • Connect to an Instance of SQL (00:50)
  • Demo: Object Explorer (04:08)
  • Demo: Visual Studio vs Management Studio (04:05)
  • Create Server and Database Objects (00:28)
  • Demo: Creating Objects (04:29)
  • Demo: Adding Fields (04:31)
  • Summary (00:12)
Updating a Connected Database (16:30)
  • Introduction (00:40)
  • Update a Connected Database (01:29)
  • Demo: Updating a Connected DB (03:19)
  • Demo: Executing Update Script (03:13)
  • Demo: Data Editor (04:54)
  • Demo: Changing Existing Data (02:34)
  • Summary (00:18)

Schemas and Offline Development

Creating New Objects With TSQL (12:15)
  • Introduction (00:48)
  • Demo: New Objects with TSQL (03:07)
  • Demo: Create View in Database (03:00)
  • Demo: Create Stored Procedure (02:54)
  • Demo: Testing a Stored Procedure (01:47)
  • Summary (00:36)
Comparing Database Schemas (10:34)
  • Introduction (01:15)
  • Demo: Comparing Schemas (03:33)
  • Demo: Migrating Data (03:13)
  • Demo: Updating the Schema (01:39)
  • Summary (00:52)
Offline Database Development (13:36)
  • Introduction (00:46)
  • Offline Database Development (01:05)
  • Create a Database (01:33)
  • Demo: Creating a Database (04:52)
  • Make Changes to DB Objects (00:28)
  • Demo: Changing DB Objects (04:27)
  • Summary (00:21)
Database Project Settings (18:12)
  • Introduction (00:40)
  • Demo: Project Settings Tab (03:13)
  • Demo: SQLCLR Tabs (00:25)
  • Demo: Debug Tab (03:40)
  • Demo: Code Analysis Tab (04:07)
  • Demo: Publish Settings (02:08)
  • Demo: Publishing a Database (03:37)
  • Summary (00:19)