sp_ineachdb: Execute in the context of each database – Part 2 Some additional details about this sp_MSforeachdb (and sp_foreachdb) replacement.