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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.