Click here to Skip to main content
15,898,036 members
Home / Discussions / Database
   

Database

 
AnswerRe: When to NOT normalize? Pin
Eddy Vluggen19-Jan-11 7:33
professionalEddy Vluggen19-Jan-11 7:33 
GeneralRe: When to NOT normalize? Pin
Sander Rossel19-Jan-11 11:00
professionalSander Rossel19-Jan-11 11:00 
GeneralRe: When to NOT normalize? Pin
Eddy Vluggen21-Jan-11 4:56
professionalEddy Vluggen21-Jan-11 4:56 
GeneralRe: When to NOT normalize? Pin
Sander Rossel21-Jan-11 8:35
professionalSander Rossel21-Jan-11 8:35 
GeneralRe: When to NOT normalize? Pin
Eddy Vluggen22-Jan-11 0:23
professionalEddy Vluggen22-Jan-11 0:23 
QuestionBringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Brian C Hart18-Jan-11 5:19
professionalBrian C Hart18-Jan-11 5:19 
AnswerRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
David Skelly18-Jan-11 6:08
David Skelly18-Jan-11 6:08 
AnswerRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Chris Meech18-Jan-11 7:07
Chris Meech18-Jan-11 7:07 
What you are really after is a union of what is in TABLE1, that's not in TABLE2, along with what is in TABLE2, that's not in TABLE1. I'd try the following
select * from TABLE1 t1
 where not exists ( select * from TABLE2 t2 where t1.key = t2.key )
union all
select * from TABLE2 t2
 where not exists ( select * from TABLE1 t1 where t2.key = t1.key )


You might want to create a view for this, depending upon the circumstances. Smile | :)
Chris Meech
I am Canadian. [heard in a local bar]

In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

GeneralRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Brian C Hart18-Jan-11 7:18
professionalBrian C Hart18-Jan-11 7:18 
GeneralRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Chris Meech18-Jan-11 7:35
Chris Meech18-Jan-11 7:35 
GeneralRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
David Skelly19-Jan-11 1:55
David Skelly19-Jan-11 1:55 
AnswerRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Mycroft Holmes18-Jan-11 13:53
professionalMycroft Holmes18-Jan-11 13:53 
AnswerRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
Yusuf18-Jan-11 15:15
Yusuf18-Jan-11 15:15 
AnswerRe: Bringing in a New Table to Refresh an Existing One; Record Counts are Different; How do I say "Gimme the discrepant records?" Pin
i.j.russell18-Jan-11 21:17
i.j.russell18-Jan-11 21:17 
QuestionExcluding weekends in stored procedure... Pin
ShivGanta17-Jan-11 20:50
ShivGanta17-Jan-11 20:50 
AnswerRe: Excluding weekends in stored procedure... Pin
Hiren solanki17-Jan-11 22:05
Hiren solanki17-Jan-11 22:05 
AnswerRe: Excluding weekends in stored procedure... Pin
Mycroft Holmes18-Jan-11 13:56
professionalMycroft Holmes18-Jan-11 13:56 
GeneralRe: Excluding weekends in stored procedure... Pin
ShivGanta18-Jan-11 15:52
ShivGanta18-Jan-11 15:52 
QuestionRe: Excluding weekends in stored procedure... Pin
ShivGanta31-Jan-11 19:24
ShivGanta31-Jan-11 19:24 
QuestionVBA combobox value Pin
scorp_scorp17-Jan-11 17:38
scorp_scorp17-Jan-11 17:38 
AnswerRe: VBA combobox value Pin
Prerak Patel17-Jan-11 21:17
professionalPrerak Patel17-Jan-11 21:17 
GeneralRe: VBA combobox value Pin
scorp_scorp18-Jan-11 17:06
scorp_scorp18-Jan-11 17:06 
QuestionMove table from one database to another database Pin
vanikanc17-Jan-11 5:18
vanikanc17-Jan-11 5:18 
AnswerRe: Move table from one database to another database Pin
Simon_Whale17-Jan-11 5:25
Simon_Whale17-Jan-11 5:25 
GeneralRe: Move table from one database to another database Pin
vanikanc17-Jan-11 5:27
vanikanc17-Jan-11 5:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.