sparks
2012-03-20 17:19:55 UTC
My boss says ok here are 2 sql backups.
We think they have the same tables and columns.
merge them.
this is sqlserver 2008 r2
oh wait here is another database that I think has all the tables and
columns so delete all the data in it and then merge the other two
databases using the third and use the schema of the third one.
help
I don't have a clue how to do this.
any pointers on info I can find and read up on this or about how to do
it and how to track errors?
ps I know in a merge there are 3 ways to do a mergematched, not
matched and not matched by source (at least that is the 3 I know)
when I asked this he said I just want all the data from both of them.
ok merge matched.
Isn't that an append, at least it is in access.
but I don't know about his schema or even what is the identifying
variables in this 3rd database.
And I assume I don't care, let sql populate them. But I still need to
know an order of the tables to merge the data don't I ?
Wow maybe this is easy for some of you but I are confused.
We think they have the same tables and columns.
merge them.
this is sqlserver 2008 r2
oh wait here is another database that I think has all the tables and
columns so delete all the data in it and then merge the other two
databases using the third and use the schema of the third one.
help
I don't have a clue how to do this.
any pointers on info I can find and read up on this or about how to do
it and how to track errors?
ps I know in a merge there are 3 ways to do a mergematched, not
matched and not matched by source (at least that is the 3 I know)
when I asked this he said I just want all the data from both of them.
ok merge matched.
Isn't that an append, at least it is in access.
but I don't know about his schema or even what is the identifying
variables in this 3rd database.
And I assume I don't care, let sql populate them. But I still need to
know an order of the tables to merge the data don't I ?
Wow maybe this is easy for some of you but I are confused.