Click here to Skip to main content
15,922,533 members
Home / Discussions / Database
   

Database

 
QuestionCan't Create database Pin
twsted f81-Nov-09 7:15
twsted f81-Nov-09 7:15 
AnswerRe: Can't Create database Pin
Andy_L_J1-Nov-09 7:47
Andy_L_J1-Nov-09 7:47 
AnswerRe: Can't Create database Pin
Mycroft Holmes1-Nov-09 11:11
professionalMycroft Holmes1-Nov-09 11:11 
AnswerRe: Can't Create database Pin
Henry Minute1-Nov-09 11:24
Henry Minute1-Nov-09 11:24 
GeneralRe: Can't Create database Pin
Andy_L_J1-Nov-09 11:55
Andy_L_J1-Nov-09 11:55 
GeneralRe: Can't Create database Pin
Henry Minute2-Nov-09 0:25
Henry Minute2-Nov-09 0:25 
QuestionUpdate Master Database Daily comparing with old one Pin
RAJAGOPAL PATABALLA30-Oct-09 5:14
RAJAGOPAL PATABALLA30-Oct-09 5:14 
AnswerRe: Update Master Database Daily comparing with old one Pin
David Mujica30-Oct-09 5:38
David Mujica30-Oct-09 5:38 
I'm a bit confused. Confused | :confused:

If you receive an updated database from your client on a daily basis, why don't you just replace the old database with the new one ?

Otherwise, you will need to create a reconciliation program that considers the following:
1) New records
2) Deleted records
3) Update records

You could apply this logic on a table by table basis, but the problem arises when there are constraints among dependent tables. If you try to insert a record in a table and the foreign key does not exist yet in the parent table you will get an insert error.

One method around this is to drop all constraints when performing this reconcilliation and re-apply the constraints when the process is complete.

Not an easy task.
Best of luck.
AnswerRe: Update Master Database Daily comparing with old one Pin
Henry Minute30-Oct-09 10:30
Henry Minute30-Oct-09 10:30 
AnswerRe: Update Master Database Daily comparing with old one Pin
εїзεїзεїз31-Oct-09 20:10
εїзεїзεїз31-Oct-09 20:10 
QuestionSQL To XML Pin
Vimalsoft(Pty) Ltd30-Oct-09 4:59
professionalVimalsoft(Pty) Ltd30-Oct-09 4:59 
AnswerRe: SQL To XML Pin
J4amieC30-Oct-09 5:54
J4amieC30-Oct-09 5:54 
GeneralRe: SQL To XML Pin
Vimalsoft(Pty) Ltd30-Oct-09 5:55
professionalVimalsoft(Pty) Ltd30-Oct-09 5:55 
GeneralRe: SQL To XML Pin
J4amieC30-Oct-09 7:09
J4amieC30-Oct-09 7:09 
GeneralRe: SQL To XML Pin
Vimalsoft(Pty) Ltd1-Nov-09 20:05
professionalVimalsoft(Pty) Ltd1-Nov-09 20:05 
GeneralRe: SQL To XML Pin
wadhva_maninder30-Oct-09 20:03
wadhva_maninder30-Oct-09 20:03 
GeneralRe: SQL To XML Pin
Vimalsoft(Pty) Ltd1-Nov-09 20:06
professionalVimalsoft(Pty) Ltd1-Nov-09 20:06 
AnswerRe: SQL To XML Pin
Andy_L_J30-Oct-09 21:43
Andy_L_J30-Oct-09 21:43 
GeneralRe: SQL To XML Pin
Vimalsoft(Pty) Ltd1-Nov-09 20:03
professionalVimalsoft(Pty) Ltd1-Nov-09 20:03 
GeneralRe: SQL To XML Pin
J4amieC1-Nov-09 21:43
J4amieC1-Nov-09 21:43 
GeneralRe: SQL To XML Pin
Vimalsoft(Pty) Ltd1-Nov-09 22:15
professionalVimalsoft(Pty) Ltd1-Nov-09 22:15 
GeneralRe: SQL To XML Pin
J4amieC2-Nov-09 1:15
J4amieC2-Nov-09 1:15 
Questionits urgent Pin
bcss03a00629-Oct-09 21:00
bcss03a00629-Oct-09 21:00 
AnswerRe: its urgent [modified] Pin
Niladri_Biswas29-Oct-09 21:46
Niladri_Biswas29-Oct-09 21:46 
GeneralRe: its urgent Pin
Mycroft Holmes29-Oct-09 22:13
professionalMycroft Holmes29-Oct-09 22:13 

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.