![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
We would like to restrict the number of records returned in a LEFT JOIN query but we find that it doesn't work as it supposed to be. Query: select t1.statdescr from table1 as t1 with (nolock) left join table2 as t2 on t1.tpklrpap = t2.tfklrpap and t1.statdescr not like 'CANCEL%' However, we find that it still pulls those records with CANCEL Thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |