Skip to content

Instantly share code, notes, and snippets.

@n-tran
Created June 14, 2013 01:04
Show Gist options
  • Save n-tran/5778700 to your computer and use it in GitHub Desktop.
Save n-tran/5778700 to your computer and use it in GitHub Desktop.
use stage
go
select *
from d_originalJanssenInvokana as c
where not exists (select * from d_janssenInvokana as v
where v.firstName = c.[First Name]
and v.lastName = c.[last name]
and v.add1 = c.[Business Address 1]
and v.add2 = c.[Business Address 2]
and v.addCity = c.[Business City]
and v.addState = c.[Business State]
and v.addZip = c.[Business Zip Code]
and v.email = c.[Email]
and v.phone = c.[Phone])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment