Search code examples
azure-sql-databaseiotazure-iot-hub

Save data from Azure HUB-IOT to an Azure SQL-database


I have recently created an Azure Hub-IOT in which I am sending some data from a virtualized device, I know that the data arrived because I can see them from a terminal but now I want to take this data and save them into an Azure SQL_DataBase, how can I do this?

If someone can explain me the process or link some tutorial I will appreciate it.


Solution

  • Write the data to IoT Hub, then you just need to create a stream Analytics Job to save the data on an Azure SQL Database:

    enter image description here

    Please read this tutorial for detailed information. Another useful tutorial may be this one.