"CreateAdventureWorksForSQLAz ure.cmd is not recognised as an internal or external command, operable program or batch file"

Recently I've been trying to install AdventureWorks on my Azure account, following all the directions in this post:

http://blogs.msdn.com/b/kaevans/archive/2015/03/06/adventure-works-for-azure-sql-database.aspx

However, I keep getting the message "CreateAdventureWorksForSQLAzure.cmd is not recognised as an internal or external command, operable program or batch file", so I'm not sure what is going on here. Can anyone help me on this?

September 9th, 2015 7:24pm

Hi Vuotelin,

I test the scenario as yours and AdventureWorks sample database is installed successfully into an Azure SQL database server.

Where do you run the CreateAdventureWorksForSQLAzure.cmd? As described in this article, the command should be run under AdventureWorks\ directory of extracted zip file.

Alternatively, you can manually run the schema.sql from the Azure portal or SQL Server Management Studio. Then run the BCP commands from the command prompt to import the .dat files. In this way, you can also install AdventureWorks sample database into your Azure SQL database server. For more details about importing dat files to SQL Azure, please review this similar blog.

In addition, as the issue is related to Azure SQL, I recommend you post the question in the Azure SQL Database forum at https://social.msdn.microsoft.com/forums/azure/en-US/home?forum=ssdsgetstarted . It is appropriate and more experts will assist you.

Thanks,
Lydia

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2015 10:36pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics