Create an Azure SQL Database with built-in sample data

Create an Azure SQL Database with built-in sample data

In this article, we will understand how to create an Azure SQL Database with built-in sample data. Typically, in non-production environments, whenever new databases are created, one of the preliminary requirements is to have some test data loaded to perform some basic checks. Also, sample data is required for a variety of different scenarios.

In this article, we will learn to create an Azure SQL Database with built-in sample data.

Typically, in non-production environments, whenever new databases are created, one of the preliminary requirements is to have some test data loaded to perform some basic checks. Also, sample data is required for a variety of different scenarios. In a highly regulated environment where loading data from external sources need to follow a stipulated process, it can take quite some time to load sample data, which may delay the initiation or acceptance testing of certain work aspects on a database. To add to it, to properly test various database features one may need data that is meaningful, normalized and contains at least a few business entities that are inter-related. Generating a random number of records with random values with a script often does not provide the quality of data that is productive for testing out database features. On Azure cloud, Azure SQL Database is one of the most popular means of hosting transactional data, and the needs of sample data on the database are the same. In this article, we will understand how to create a database with built-in sample data on Azure, so that developers do not need to put in separate efforts to set it up for testing database features.

Azure SQL Database Setup

It is assumed that one has an Azure account with the required privileges to access database service on Azure. Log on to the Azure portal and navigate to All services from the menu button on the top-left corner of the page. Click on the Databases section, and you would be able to find the SQL Database service as shown below.

Click on this service and you would be navigated to the home page that would show the list of any existing database. If you do not have any existing database, the screen would look as shown below. We intend to create a new database. Click on the Add button to initiate the Create SQL database wizard.

azure sql azure

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Introduction to Structured Query Language SQL pdf

SQL stands for Structured Query Language. SQL is a scripting language expected to store, control, and inquiry information put away in social databases. The main manifestation of SQL showed up in 1974, when a gathering in IBM built up the principal model of a social database. The primary business social database was discharged by Relational Software later turning out to be Oracle.

Demo: Configure Azure SQL with Azure CLI | Azure SQL for beginners (Ep. 17)

In this video, see how to configure your Azure SQL connectivity leveraging the Azure CLI and PowerShell notebooks in Azure Data Studio. For the full Azure SQ...

What is Azure SQL? | Azure SQL for beginners (Ep. 3)

Azure SQL is composed of Azure SQL Database, Azure SQL Managed Instance, and SQL Server in Azure VM. Learn about the key differentiators between them. For th...

Migrating SQL workloads to Microsoft Azure: Services Selection

In this article, we will go through the different database services that are provided by Microsoft Azure to help you in selecting the proper service that can serve your SQL workload when migrating it to Microsoft Azure

Learning How to Transition Your SQL Server Skills to Azure SQL

Are you interested in learning how to translate your existing SQL Server expertise to Azure SQL including Azure SQL Database and Azure SQL Managed Instance? In this episode, Bob Ward, Anna Hoffman, and Marisa Brasile announce all-new content on YouTube, Github, and Microsoft Learn to help you become an Azure SQL professional.