A simple way to release databases faster and safer via automation

dbForge Studio for SQL Server incorporates a cutting-edge DevOps Automation tool that takes conventional database development, testing, and deployment to a whole new level.

  • Embrace database DevOps automation and management approaches
  • Implement database Continuous Integration and Continuous Delivery
  • Minimize SQL Server database deployment risks
  • Drive quality and frequency of SQL Server database updates
  • Make the database release workflow consistent and safe
  • Use effective approach to the database lifecycle management
  • Reduce overall SQL Server database costs and expenses

How it works

Adopting the database DevOps best practices will allow you to deliver faster, more often, and with fewer errors. Bring automation into your database development process and accelerate the delivery of database changes.

Database DevOps in dbForge Studio for SQL Server

Development

Continuous Integration

Continuous Delivery

Operations

Development
Having made changes to SQL code, developers commit them to a shared repository which is then synchronized with the central codebase. Further on the application or feature is built from the code extracted from that codebase and verified by using the specially written unit tests. Database Continuous Integration is a key to the automation of each and every step that follows the database development process.
Continuous Integration
Database Continuous Integration is a development practice that implies that even the slightest code changes are to be integrated into a shared repository and tested every time they are made. SQL Server Continuous Integration allows detecting and eliminating bugs in the early stages of development, which drastically cuts the gap between code development, testing, and release.
Continuous Delivery
Database Continuous Delivery ensures smooth and frequent releases. With the database release automation, you can always feel certain of each code alteration. The database release management becomes less risky and stressful, and the frequency of releases boosts dramatically. The higher frequency of updates makes a product more flexible, reliable, and, consequently, more attractive to customers. Even if some issues somehow appear on production, they can be easily eliminated with a timely and simple hotfix update.
Operations
Proactive and intelligent SQL Server monitoring and reporting ensures that you can detect, analyze, and eliminate any performance-related issues before they get released to your customers. As a result, the teams spend less time and effort, while you get more customers who are happy with the product they can rely on.
dbForge DevOps Automation for SQL Server

All database DevOps tools
in one IDE

Use dbForge Studio for SQL Server to organize and manage all the required CI/CD steps. Build, populate, validate, document, package with a single tool. The Studio allows tailoring the pipeline to suit the needs of your team and automating database releases with the automation server you prefer.

Start your DevOps journey with dbForge Studio for SQL Server!

The first step in the CI/CD pipeline involves deploying a database to a local or remote SQL Server and generating a NuGet package from a source control repository. Building a runnable instance is a fundamental phase in the project development process. dbForge Studio for SQL Server plays an essential role in streamlining this process by giving the possibility to automate the step. Use the Invoke-DevartDatabaseBuild PowerShell cmdlet to organize the Build stage of your project. The successful completion of this phase is a successfully created database.

The Build step in the CI/CD process

After the test database has been built, it needs to be populated with realistic test data. dbForge Studio for SQL Server will perform this task in a few clicks. To organize this step, call the Invoke-DevartPopulate PowerShell cmdlet. Automating data provisioning for test databases is an important stage in the database development cycle.

Populate database with data as part of CI/CD

Performing unit tests against the objects in the test database is a crucial stage as testing ensures that certain functionality meets all the requirements or works properly after various changes made. Use the Unit Test functionality of dbForge Studio for SQL Server to design unit tests and install the test framework. To automate this step, utilize the Invoke-DevartDatabaseTest PowerShell cmdlet.

The Test stage in Continuous Delivery

Once the testing phase is completed and you have a runnable instance of our product that has passed all predefined tests, you’re ready to format the scripts in order to embed them in a NuGet package. To perform this task, use the Code Formatter functionality that comes with the Studio. Call the Invoke-DevartFormatScript PowerShell cmdlet for this purpose.

Format SQL code in the CI/CD process

Keep your database documentation complete by automating the process of documentation generation with dbForge Studio for SQL Server. To document your database, use the New-DevartDatabaseDocumentation PowerShell cmdlet. As a result, you receive extensive database information including inter-object dependencies and DDL codes in one of the three output formats – HTML, PDF, or Markdown.

The Document stage in dtabase automation

Before moving on to the final phase you need to prepare a package for deployment by creating a database scripts folder and then generating a NuGet package, which will be used as a source for deployment. Continuous Delivery implies that this step should be automated to ensure a reliable delivery to users. To create a NuGet package, containing the validated database source, use the Publish-DevartDatabaseProject PowerShell cmdlet.

The Package step in Continuous Integration

The stage involves creating a schema synchronization script after comparing the source in the NuGet package containing database changes with the target database awaiting the update. This script will be then used for the release. At this stage, you can use the Invoke-DevartSyncDatabaseSchema PowerShell cmdlet. Successful completion of this phase is a successfully created database schema synchronization script.

Synchronize a NuGet package with the target database

Importing data to a test database is an important step that can be used at different stages of the CI/CD process. To perform the task, you can use the Data Import functionality of dbForge Studio for SQL Server that supports import from 10 widely used data formats and includes a number of advanced options and templates for recurring scenarios. You can also call the Invoke-DevartDataImport PowerShell cmdlet to import data from the Command line.

Import data in Continuous Delivery

During the database development cycle, you may encounter a situation when you need to extract data from a production database quickly and efficiently. To cope with this task, you can use the Data Export functionality of dbForge Studio for SQL Server that allows exporting data to 14 commonly-used SQL Server data formats. You can also call the Invoke-DevartDataExport PowerShell cmdlet to export data from the Command line.

Export data in database automation

After completion of all the stages above, you can proceed to publish the NuGet package to the NuGet repository to share it with your team, organization, or customer. This stage is highly important as the CI/CD pipeline requires side-to-side collaboration between the Development, Test, and Operations teams. To publish a NuGet package from the command line, call the Publish-DevartDatabaseProject PowerShell cmdlet.

The Publish stage in CI/CD

Why choose DevOps Automation with dbForge Studio for SQL Server

Level up your SQL coding

  • Change code up to your needs with dbForge Studio for SQL Server.
  • Beautify SQL code with the SQL Formatter feature.
  • Refactor your code easily with the advanced Code Refactor feature.

Boost database development

  • Deploy local changes to the central repository using the Source Control functionality in Shared or Dedicated database development mode.
  • Build a database seamlessly from the Sync or Update script with the Schema Compare functionality that comes with dbForge Studio.
  • Automate and simplify the SQL unit test process without affecting the production database.

Enhance your CI system

  • Customize the steps of the database project development and deployment with the already familiar Continuous Integration server, e.g. Jenkins.
  • Organize and manage the DevOps process quickly and easily with dbForge cmdlets for PowerShell.

Get benefits from automation

  • Transition to DevOps from the conventional development model and boost the deployment speed resulting in faster delivery.
  • Ensure continuous and timely feedback that will lead to faster and smarter problem-solving with the DevOps automation.
  • Reduce infrastructure complexity and cut down the costs with the DevOps approach.

DevOps Automation integrates into:

Jenkins automation server

Jenkins

Set up the DevOps processes in Jenkins with DevOps Automation Jenkins Plugin for SQL Server
TeamCity automation server

TeamCity

Enjoy Continuous Integration in TeamCity DevOps Automation TeamCity Plugin for SQL Server
Azure DevOps automation server

Azure DevOps

Benefit from Continuous Integration with DevOps Automation Azure DevOps Plugin for SQL Server
Bamboo automation server

Bamboo

Implement Continuous Integration with DevOps Automation Bamboo Plugin for SQL Server

Get started quickly

From the Start Page of dbForge Studio for SQL Server, you can navigate directly to the PowerShell Gallery to download the dbForge DevOps Automation PowerShell module to help you standardize and orchestrate the DevOps processes via the PowerShell interface.

The Studio gives the flexibility to set up and manage database deployments with the automation server you prefer: Azure DevOps, Jenkins, TeamCity, or Bamboo.

The Start Page of dbForge Studio for SQL Server will redirect you to the marketplace where you can download the required plugin for establishing the database CI/CD process.

Launch database automation from the Start Page of dbForge Studio