0

If I export a MySQL table into a .csv file, is there any extra work needed to now push this .csv file onto an Azure SQL database?

2 Answers 2

2

is there any extra work needed to now push this .csv file onto an Azure SQL database?

For flat CSV file, you could create the destination table in your Azure SQL Database first, then use the bcp command-line utility for importing data from a CSV file into your Azure SQL Database. For more details, you could refer to Load data from CSV into Azure SQL Database.

Additionally, you could migrate your MySQL database objects to SQL Azure, then migrate the data to SQL Azure. For more details, you could refer to the following tutorials:

Migrating MySQL Databases to SQL Server - Azure SQL DB

Migrating MySQL Data into SQL Server - Azure SQL DB

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks Bruce, this is a great answer
0

You can also and upload results into blob storage and use natively built in BCP in Azure SQL to pull the data.

Here is example on how to do it https://marczak.io/posts/azure-loading-csv-to-sql/

Alternatively you can easily load data from blob storage into database using Azure data Factory, you can example find here: https://azure4everyone.com/posts/2019/07/data-factory-intro/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.