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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | 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
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

matrixrep
Starting Member

30 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

30 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  
 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.03 seconds. Powered By: Snitz Forums 2000