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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looping Through Dbases on an instance

Status
Not open for further replies.

PJSWEAT

Programmer
Feb 3, 2003
82
US

I need to loop thru all databases on an instance of SQL Server, If tblOrder exists in the database I want to extract the number of rows bases on the datecreated field into another table.

Does anybody have a recommendation on how to handle?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top