Question : Join query give duplicate value

Hi ,

I   have 2 tables i have join the 2 tables but it qive duplicate answer ? how can avoid that ??

the query is

select distinct b.ANCIL_INV_DET_SEQ_NO, a.BATCH_NBR,a.SITE_RECV_QTY,a.EXP_DATE,a.SITE_DAMAGE_QTY from v_ancil_ship_det a,
v_ancil_inv_det b where a.ANCIL_NAME='MAN2' and a.ANCIL_NAME=b.ANCIL_NAME

162      0      9      null      0
142      0                 null      null      null
162      0                 null      null      null
142      0      9      null      0

Answer : Join query give duplicate value

We've done some further investigation and confirmed this is an AVG issue.  

The AVG client (Business Edition 9) includes an "Online Shield" service, which innocuously claims to protect Web and Instant Messaging traffic.  Last month the client had upgraded from 8.5 to 9.0 and restarted the server (no problems yet).  After the 2nd restart last week, the problem arose.

While we had an Outlook session open to the server over SSL, we turned this service off in AVG and every Outlook connection issue resolved within a couple seconds.

I'd recommend disabling this service (and other "client PC" intended modules like LinkScanner) in AVG 9.  

Note: this module is available in every version of AVG 9 (Business edition, Internet Security, etc.) with the possible exception of "Free".
Random Solutions  
programming4us programming4us