David Tate
  • Home
  • About
  • Books
  • DIY Tech MBA
Sign in Subscribe
David Tate

David Tate

Running SQL cross servers

If you work with more than one database and have the constant need to run the same query across multiple servers, the undocumented stored procedure sp_MSforeachdb can be useful; see below example comparing stored procedures across servers using a simple checksum to tell if they are the same exact
David Tate Aug 17, 2009

Subscribe to David Tate

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • [Product of BGA Studios]:
  • Navigating Remote Work
  • DIY Tech MBA
  • 10x Debugger
David Tate © 2026. Powered by Ghost