Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with sp_msforeachdb

Status
Not open for further replies.

equus2

Programmer
Mar 5, 2008
36
US
Hi,

When I try to run sp_msforeachdb on SQL Server 2005 (to call scptxfr.exe for each database on a server), it locks up completely and never finishes my scripting.

I don't think the problem is with scptxfr.exe per se, because I don't have a problem when running this in general, just when I put it in the sp_msforeachdb loop.

Has anyone else had this problem?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top