Viewing 3 posts - 1 through 4 (of 4 total)
Hi GianLuca,
Tkx for your reply.
As i said in the post i can't put the code in the SP (Tb2 is changed in varies situations).
DataBase is old (came from before...
December 28, 2011 at 7:30 am
#1426079
Tkx Lowell
December 1, 2010 at 5:35 am
#1257261
Hi,
Figure it out.
select GR.NumDoc As Query1 from GR Where GR.NumDoc Not In (Select ISNULL(FactL.NDoc,'') from FactL)
Query1='GRM20611675'
As there as NULL values in FactL.NDoc it seems the NOT IN gets confused.
Why?
Tkx
December 1, 2010 at 5:34 am
#1257259