Any idea why this would not work.
select a.object_id,a.column_id , a.name,
b.object_id,b.column_id, b.name
from sys.columns a
left outer join sys.columns b
on a.column_id = b.column_id
where a.object_id=1109578991
and b.object_id=2130106629
a.object_id=1109578991 has 40 records
and
b.object_id=2130106629 has 39 records
But it is showing 39 matched records and no null.
Shouldn't it match all 40 with 1 on the right being null.
Thanks
Simi
select a.object_id,a.column_id , a.name,
b.object_id,b.column_id, b.name
from sys.columns a
left outer join sys.columns b
on a.column_id = b.column_id
where a.object_id=1109578991
and b.object_id=2130106629
a.object_id=1109578991 has 40 records
and
b.object_id=2130106629 has 39 records
But it is showing 39 matched records and no null.
Shouldn't it match all 40 with 1 on the right being null.
Thanks
Simi