Home
Options

Cross database query, looping through databases.

edited July 2012
Since I have a lot of databases, I'd like to loop through them executing a linq query/update on each of them.

Is it possible to do something like

foreach(var r in master.sysdatabases)
{
from b from r.chicken
select b.age;
}
Sign In or Register to comment.