Visual Studio 2012: A Complete IDE (Debugging & Source Control) Kevin Howell
Visual Studio 2012 IDE Basics Debugging Procedures Create Database Project Source Control (TFS) Schema Compare Agenda
SQL Server Object Explorer Management Studio functionality integrated in Visual Studio Table Designer Add/Edit tables in Visual Studio Source Control Explorer Manage solutions and project versions IDE Overview
Load project with source to make call to database Connect to target database in SQL Server Object Explorer Allow SQL/CLR Debugging for the Server instance Enable SQL Server debugging in the Debug tab of the Properties section of your project Set the breakpoints in both project code and schema object to evaluate Debugging Procedures
Start a new project. Under Other Languages, SQL Server template, select SQL Server Database Project Follow the wizard to import a database Under import settings, only check Import Permissions and set the folder structure to Object Type After import is complete, clean and build the solution Database Project
Team Foundation Server 2012 Basic Install Requirements: SQL Server 2012 or 2008R2 instance Full-text Search feature on instance Use TFS 2010 for SQL 2008 and earlier Integrates with VS 2012 IDE Complete version control of SQL Schema Can perform schema comparison & deployment Source Control
Found under SQL menu in Visual Studio Much improved in VS 2012 Requires Premium or Ultimate VS Same requirement for VS 2010 Schema Compare
Visual Studio 2012 features: us/library/vstudio/bb aspx#BKMK_DataAppDevhttp://msdn.microsoft.com/en- us/library/vstudio/bb aspx#BKMK_DataAppDev Using Table Designer: us/library/hh272695(v=VS.103).aspxhttp://msdn.microsoft.com/en- us/library/hh272695(v=VS.103).aspx References