Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

How to execute the same SQL Script on various Servers in one Execution

Hello,

 

I would like if it possible to combine the execution of the same SQL Script but on three different servers and to get one table?

 

So imagine that I have Server A, Server B and Server C and the Script1.

 

What I would like to do it is to execute in one time the following steps and get one combine table

 

connect to Server A

Execute Script1

Disconnect from Server A if necessary

connect to Server B

Execute Script1

Disconnect from Server B if necessary

connect to Server C

Execute Script1

 

 

Then get one combine table.

Up to now, I am able to run each separatly by I need to combine the table after.

So I wonder if there is a way to carry out that SQL Task in power bi in one time.

Regards,

 

1 ACCEPTED SOLUTION
kentyler
Solution Sage
Solution Sage

You can probably use Power Automate https://flow.microsoft.com/en-us/connectors/shared_sql/sql-server/





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


View solution in original post

1 REPLY 1
kentyler
Solution Sage
Solution Sage

You can probably use Power Automate https://flow.microsoft.com/en-us/connectors/shared_sql/sql-server/





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.