sql - Using a Right Outer Join to Match Records from Two Different Databases -
SQL 2005:
I'm trying to insert an external one that has two separate databases Can pull records from My purpose is to determine which records in database B are not recorded in database A. When I tried to run the query, then it is below the error that I can not believe how this error can be found:
Database B] .dbo.AssetCompType_EquipmentProperty_LinkTable.AssetCompTypeID'Tables or Function' Asset Comp Type-ApprovalProperty_LinkTable 'and' TA -Reporting debob.asset comp typeEqualementProperty_LinkTable 'The only highlighted names are I. Use to isolate correlation names. AssetCompType_EquipmentProperty_LinkTable includes the right external from [Database A]. Dbo.AssetCompType_EquipmentProperty_LinkTable [Database A] on. Dbo.AssetCompType_EquipmentProperty_LinkTable.AssetCompTypeID = [Select from AssetCompType_EquipmentProperty_LinkTable] [
It seems that you should distinguish between tables. Try it with:
Select from AssetCompType_EquipmentProperty_LinkTable T1 [Database A]. T1.AssetCompTypeID = T2.AssetCompTypeID
Comments
Post a Comment