- Adventureworks database msftdbprodsamples full#
- Adventureworks database msftdbprodsamples trial#
- Adventureworks database msftdbprodsamples download#
Sqlcmd.exe –S –d AdventureWorks2012 –q “select top 10 firstname, lastname from person.person” Run the following command inside the VS command prompt: SqlCmd is shipped with Visual Studio and theĮasiest way to use sqlcmd.exe is by using the Visual Studio Command Prompt. I would like to show a very simple approach using SqlCmd.exe. You can use any SQL Server tool, such as Visual Studio or the SQL Server Management Studio to connect to your DB and verify that the data is there. That’s it, your database is up and running.
Adventureworks database msftdbprodsamples full#
Additionally, you have to use the full server name, as in: .ĬreateAdventureWorksForSqlAzure.cmd mypasswordĪfter roughly 5 minutes, the script should show “Installation Completed”. Make sure you enter the name as Providing the username only can lead to problems during the installation.
Open a CMD prompt with administrative privileges and navigate to the directory where you unzipped the package and there into the \AdventureWorks directory.
Adventureworks database msftdbprodsamples download#
and download the “AdventureWorks2012ForWindowsAzureSqlDatabase” file. Step 3: Getting and deploying the scripts Alternatively, you can navigate to the DASHBOARD page and copy the MANAGE URL from there. Note the server name and the credentials that you specified and we can go on with the next step. IMPORTANT:ĭo not forget to hit the save button, once completed! This configuration is vital since it allows your local machine, where the browser is running, to access the database server. On the following page, click CONFIGURE and then click the arrow on the right, where it says “ADD TO THE ALLOWED IP ADDRESSES”.
Select a region that is close to your location.Īfter some time, it took about 30 seconds for me, your database server is ready to go! Click the little arrow on the right of the server name to proceed to the server settings: The CREATE SERVER wizard will pop up, fill in the fields and confirm. Once you are on the SQL DATABASES page, click SERVERS on the top navigation:įinally, click the ADD button at the bottom: On the portal, select SQL DATABASES from the navigation on the left hand side: Step 2: Provisioning an Azure SQL Database Server (Old Portal/)Īfter you have created your Microsoft Azure account, go to the management portal: For simplicity, I am going to use the old one. Note that currently there are two Azure Portals. This is a configuration setting in the Azure Management Dashboard. The Azure db must be accessible from your client computer. NET 4.0 is not installed, you can get it at the Microsoft Download Center:ģ.
Adventureworks database msftdbprodsamples trial#
If you do not have one, you can get a free trial subscription for one month and 200 CHF at:Ģ. You need 3 things in order to reproduce this example:ġ. Let’s get started: Step 1: The Prerequisites