Mike Levan
SSChampion
Points: 14201
More actions
October 30, 2007 at 6:40 am
#61396
Can I run a store proc residing on database A in multiple databases where I can select the DB name as parameter in my proc and I will be using the DBparameter for queries inside the proc.
Dinakar Nethi-176633
SSCarpal Tunnel
Points: 4689
October 30, 2007 at 10:07 am
#746732
check out the undocumented proc sp_MSForEachDB
******************Dinakar NethiLife is short. Enjoy it.******************
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply