SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Other Forums
 MS Access
 Select comparing two table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

matrixrep
Starting Member

29 Posts

Posted - 04/02/2014 :  15:14:10  Show Profile  Reply with Quote
Table 1

SHOP----ID ----------SHIFT---Begin-----------End


032-----123456----------01------2013-09-23------2014-02-28
033-----999999----------01------2013-09-23------(Null Value)
032-----123456----------02------2014-03-01------(Null Value)


Table 2

SHOP-----ID ----------SHIFT----Begin-----------End


032------123456----------01------2013-09-23------2014-02-28
033------999999----------01------2013-09-23------(Null Value)


I need a select statement that i can put in MSACCESS that will detect
the difference betwEen the two table.

OUTPUT
------

SHOP----ID ----------SHIFT---Begin-----------End

032-----123456----------02------2014-03-01------(Null Value)


Thanks in advance for your help.

Edited by - matrixrep on 04/02/2014 15:25:52

matrixrep
Starting Member

29 Posts

Posted - 04/03/2014 :  11:31:42  Show Profile  Reply with Quote
msaccess dont like to compare null values. So i replace the Null with 0.
and my query worked just fine. :)

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000