Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Select comparing two table

Author  Topic 

matrixrep
Starting Member

30 Posts

Posted - 2014-04-02 : 15:14:10
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.

matrixrep
Starting Member

30 Posts

Posted - 2014-04-03 : 11:31:42
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
   

- Advertisement -