Browse by Tags

Tagged Content List
  • Blog Post: How to execute a TSQL statement for all databases

    How to execute a TSQL statement for all databases I wanted a quick way to execute a TSQL command against all databases. I was having hard time getting the sp_MSforeachdb to work and didn’t want to write a cursor, so I instead built a TSQL command which makes the commands I need to execute. Not...
Page 1 of 1 (1 items)