Do you have a limited number of databases? If yes, then you could use the UNION statement to do this. example:SELECT colA, colB, colC FROM db1.dbo.tablename WHERE ID = @IDUNION ALLSELECT colA, colB, colC FROM db2.dbo.tablename WHERE ID = @IDUNION ALLSELECT colA, colB, colC FROM db3.dbo.tablename WHERE ID = @IDUNION ALL...
If you will have a variable number of databases they you probably need to generate the UNION statements on-the-fly, using the sysdatabases table and dynamic SQL, but I wouldn't want to go down that route.OS