Select TOP 100 PERCENT bp_group_name
FROM mf_01createbp_grp
WHERE bp_group_name NOT IN
SELECT TOP 100 PERCENT
Eploltp01.sch_bpref.businesspartnergroup.bp_group_name
FROM sch_bpref.businesspartnergroup
ORDER BY bp_group_name
I get the below error when executing the above script, I'm pulling the data from tables residing in two different databases on the same server
Server: Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "Eploltp01.sch_bpref.businesspartnergroup.bp_group_name" could not be bound.
help greatly appreciated -
Regards,