Learn more about SQL Server tools

mssqltips logo
 

Tutorials          DBA          Dev          BI          Career          Categories          Webcasts          Scripts          Today's Tip          Join

Tutorials      DBA      Dev      BI      Categories      Webcasts

DBA    Dev    BI    Categories

 

SQL Server Data Tools (SSDT) SQL Project Tutorial


By:   |   Last Updated: 2014-08-06   |   Comments   |   Related Tips: More > Application Development

Read the tutorial!

One of the more difficult jobs that database professionals have to endure is maintaining installation and upgrade scripts for their databases from release to release. Many methods and tools are used such as loose SQL scripts run via SQLCMD or even writing a homegrown system to handle the creating and upgrading of databases. The biggest headaches are making sure dependencies among objects are observed so an install or upgrade does not fail and also to create scripts to update a database from a previous schema version to the latest. These processes are usually manual and they can be labor intensive. Unfortunately, this also means that they can be prone to error.

In this tutorial, we will examine the following steps in creating a SSDT SQL Project:

  • Creating A New SSDT SQL Project
  • Adding Tables To A SSDT SQL Project
  • Adding Additional Objects To A SSDT SQL Project
  • Working With Post Deployment Scripts
  • Building and Publishing a Database
  • Examining Generated Publish files
  • Setting Publish Properties
  • Refactoring A Database

Read the tutorial!



Last Updated: 2014-08-06


get scripts

next tip button



About the author
MSSQLTips author Armando Prato Armando Prato has close to 30 years of industry experience and has been working with SQL Server since version 6.5.

View all my tips




Post a comment or let the author know this tip helped.

All comments are reviewed, so stay on subject or we may delete your comment. Note: your email address is not published. Required fields are marked with an asterisk (*).

*Name    *Email    Email me updates 


Signup for our newsletter
 I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.



    



Learn more about SQL Server tools