David Tate
  • Home
  • About
  • Books
  • DIY Tech MBA
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
  • [Product of BGA Studios]:
  • Navigating Remote Work
  • DIY Tech MBA
  • 10x Debugger
David Tate © 2026. Powered by Ghost