Step-by-Step Data Migration: Excel to SQL Server with Power Automate Flow

  Рет қаралды 10,455

Last Minute Coders

Last Minute Coders

9 ай бұрын

In this comprehensive tutorial, we'll walk you through the process of migrating data seamlessly from OneDrive Excel to a SQL Server database using Power Automate Flow.
Data migration is a critical task for many organizations, and automation can significantly simplify the process.
In this video, you'll learn:
- Setting up a connection between OneDrive and SQL Server.
- Creating a Power Automate Flow to automate the data transfer.
- Mapping data fields from Excel to SQL Server.
- Testing and monitoring your data migration process.
- What is on-Premise Gateway
- How to Install and setup On-Premise Gateway
Whether you're a beginner looking to streamline your data management tasks or an experienced user seeking to optimize your workflows, this tutorial will provide you with the knowledge and skills you need to accomplish this important task efficiently.
Don't forget to like, subscribe, and click the notification bell for more tutorials and tips on data management and automation. If you have any questions or need further assistance, feel free to ask in the comments section below.
SQL Code
IF DB_ID('PA_Test') IS NULL
BEGIN
Create Database PA_Test
END
ELSE
BEGIN
PRINT 'Database Exists'
END
GO
USE PA_Test
GO
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME = N'Emp')
BEGIN
PRINT 'Table exists.'
END
ELSE
BEGIN
Create table Emp (
EmployeeID Int,
FirstName varchar(255),
LastName varchar(255),
Email varchar(255),
Phone varchar(255),
HireDate DateTime,
Department varchar(255)
)
END
GO
Select * from Emp
#DataMigration #PowerAutomate #ExcelToSQLServer #Tutorial #Automation

Пікірлер: 25
@goverdhanjayaram3683
@goverdhanjayaram3683 15 күн бұрын
Awesome ! Thank you very much!
@lastminutecoders
@lastminutecoders 13 күн бұрын
Most welcome ✨
@mccoyji
@mccoyji 4 ай бұрын
Very nice!
@lastminutecoders
@lastminutecoders 4 ай бұрын
Thanks✅✨
@nipunsrirangam
@nipunsrirangam 9 ай бұрын
Great video Vinay :)
@lastminutecoders
@lastminutecoders 9 ай бұрын
Thanks Nipun 💫
@jrohlman78
@jrohlman78 Ай бұрын
Very helpful video! What would be the next steps (or do you have any videos) on updating rows that change in the excel table and those rows in the SQL data table? The flow would need to insert and update.
@marccucala7606
@marccucala7606 4 күн бұрын
Would anyone know how to do this so that if existing data is added it doesn't do anything, but if that data doesn't exist in the sql, it adds it... I'm making a condition but it's going crazy thanks!
@dominicatuahene7303
@dominicatuahene7303 4 ай бұрын
This was amazing sir, its something that I have been searching for while and have not found any good video on it until now. this was so simple and very explanatory . Please do you have any video on how to extract it from a CRM software into a SQL server using power automate? and also Vinay do you have any class you teach that I can join? Thank you
@lastminutecoders
@lastminutecoders 4 ай бұрын
Thank you so much for your inspiring words✨ If you are looking for personal training you can contact me at lastminutescode@gmail.com
@Pbr318
@Pbr318 5 ай бұрын
the new data entered to excel sheet is reflected in database how to automate this ??
@user-sb2gy3zs8o
@user-sb2gy3zs8o 25 күн бұрын
Im seeing that the SQL connectors on power Automate are premium connectors, means we have to get paid accounts for this?
@majapamajapa9548
@majapamajapa9548 9 ай бұрын
Hi LMC, I have a great confusion on converting data into transpose and update to SharePoint list.... Like I have rawdata in CSV which has columns of Name, Subject1, Subject 2, Subject3. and I need to update in SharePoint list which has 3 columns Name, Student and Marks...now I want to update the CSV data by getting each rows of student marks and thier subject in a column so transposed......is there any ways we can make it ... I have been trying this for so long but no idea I am getting.
@lastminutecoders
@lastminutecoders 9 ай бұрын
Hi @majapamajapa9548, yeah we can transpose the data and then update/ patch it to SharePoint list. Can you mail your issue at lastminutescode@gmail.com with screenshot. I need to review what exactly you are trying to do. Thanks, Vinay
@anubhavaman6067
@anubhavaman6067 6 ай бұрын
Hi your video was helpful. I have a question .What to do in case the table column have not null uniqueidentifier constraint defined on them.
@lastminutecoders
@lastminutecoders 6 ай бұрын
What's the issue with not null unique identifier constraint?
@anubhavaman6067
@anubhavaman6067 6 ай бұрын
@@lastminutecoders so there is a column named id in the table. Id column has been declared as an uniqueidentifier, so normally when you try to insert data into this table usinng insert command, this column is automatically populated. We don't have to populate. Now when we using the flow, since this column is marked as nkt null, in the sql step we need to enter the record for id column in for each loop. What can be done to get thisfield automatically populated.
@saifkazi8504
@saifkazi8504 3 ай бұрын
If i have to trigger this flow through powerautomate than what do i have to do
@pipepi4888
@pipepi4888 3 ай бұрын
I love you
@lastminutecoders
@lastminutecoders 3 ай бұрын
Show me by doing 'Super Thanks' 😁❤️
@shubhabratadey
@shubhabratadey 6 ай бұрын
2 questions: 1. What if the excel file that we intend to import has huge rows i.e. 3K - 200K? Do we still use this process? It might end up taking a considerable amount of time to import. 2. How can we import the file name as well so as to distinguish data imported in between dates or times or may be different times in the same day? I use Power Automate to save excel files with the date and time of getting them. Is there any way that I can import the name as well? This video is great. Can you post similar videos wherein we can use PA to delete, modify in SQL database. Sorry, I am pretty late in your channel, hence asking these silly questions.
@lastminutecoders
@lastminutecoders 6 ай бұрын
Point 1: Yes definitely it will take a lot of time so remember if it is one time process or a process which you want to run monthly or weekly go with this approach. Point 2: File Name can be easily extracted from file (For this you can contact me at lastminutescode@gmail.com) Thankyou, Sure in future I will cover more videos on these topics. No Questions are Silly😁
@Shashajhon
@Shashajhon 5 ай бұрын
Hi Vinay I have data of 10 lakh even though after splitting it by region some regions have data more then 1 lakh can we load more then 1 lakh data from Excel to SQL server using cloud flow ( list rows present in a table limit is 1 lakh) is there any way to increase the pagination limit in list rows present in table ?
@lastminutecoders
@lastminutecoders 5 ай бұрын
Have you tried looping? Even I have never tested this big of a scenario with Power Automate. But If we use loop and keep Get items action inside Loop, (Let's say you have 2.5 Lakh records so loop will run 3 times - First 1lakh items, then next set of 1 lakh items and finally 50k items. You will need to use filtering based on ID or Index column. If you are able to resolve this issue with this approach do let me know. I will also do some research on this.
@indranilpaul8750
@indranilpaul8750 3 ай бұрын
what was the error that came after you solved the date format error
Power Automate: Add and update data in bulk
30:58
Daniel Christian
Рет қаралды 47 М.
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,3 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 37 МЛН
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 21 МЛН
Use Excel to Connect to SQL Server Data
13:51
Anthony Smoak
Рет қаралды 96 М.
How to EASILY Import data from EXCEL to SQL Server Tables [2024]
10:00
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 173 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,4 МЛН
The easy way to Sync Data from SharePoint to MS-SQL
28:52
Information EXP
Рет қаралды 3,5 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Samsung Galaxy Unpacked July 2024: Official Replay
1:8:53
Samsung
Рет қаралды 23 МЛН
Tag her 🤭💞 #miniphone #smartphone #iphone #samsung #fyp
0:11
Pockify™
Рет қаралды 38 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 8 МЛН
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 509 М.
WATERPROOF RATED IP-69🌧️#oppo #oppof27pro#oppoindia
0:10
Fivestar Mobile
Рет қаралды 17 МЛН