Re: Data Migration
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Mon, 18 Jul 2005 12:41:27 -0400
There isn't anything that I know of that will do all of that automatically.
The tool package from www.red-gate.com has a tool to compare the schema and
one to compare data. I know the schema tool will generate change scripts
but I don't know if it can generate data change scripts. That's usually
highly dependant on the schema and business rules.
--
Andrew J. Kelly SQL MVP
"Michael @ SGMS" <MichaelSGMS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:82853B5B-571D-4F94-A967-CC0DD2BBA510@xxxxxxxxxxxxxxxx
> My first thought was to use a linked server (where the data I want to
> migrate
> is) and then so something like:
>
> Insert into newdb..TableA
> Select * from olddb..TableA
>
> BUT, there are contraints on the new database that cause these to fail. I
> was hoping there was something out there that would script the dropping on
> the indexes and keys on the new db, then the data move, then the creation
> of
> the keys and constraints on the new db.
>
> I already have a script that will make the old server structure like the
> new....
>
> "David Gugick" wrote:
>
>> Michael @ SGMS wrote:
>> > This does not help. This only, unless I missed it, will give me the
>> > difference in structure.......What about moving the data?
>> >
>>
>> Couldn't you script these changes using T-SQL and modify as needed per
>> client? Another option is to use DTS.
>>
>> --
>> David Gugick
>> Quest Software
>> www.imceda.com
>> www.quest.com
>>
>>
.
- Follow-Ups:
- Re: Data Migration
- From: mark baekdal
- Re: Data Migration
- References:
- Data Migration
- From: Michael @ SGMS
- Re: Data Migration
- From: Andrew J. Kelly
- Re: Data Migration
- From: Michael @ SGMS
- Re: Data Migration
- From: David Gugick
- Re: Data Migration
- From: Michael @ SGMS
- Data Migration
- Prev by Date: Maint not deleting old backups
- Next by Date: Re: Maint not deleting old backups
- Previous by thread: Re: Data Migration
- Next by thread: Re: Data Migration
- Index(es):
Relevant Pages
|