dbTalk Databases Forums  

Import Data With Dependencies

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Import Data With Dependencies in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Francesco Anti
 
Posts: n/a

Default Re: Import Data With Dependencies - 08-05-2005 , 03:31 AM






"Roy Goldhammer" wrote:
Quote:
I have an empty database that i need to fill it with another database
which
is similar. (backup of the current database)
In the database i have forign key constraints. So in order to enter data
to
one table with foreign key i need to add the data first to the table with
the primary key and afterword to the table with the foreign key
The simple DTS does not ckeck it. Is there a way to make shure that the
primary key is being filled before the foreign key?
"Copy SQL Server Objects" Task should work.
Otherwise you can first drop FK constraints, import data and then recreate
them.

--
Francesco Anti




Reply With Quote
  #2  
Old   
Roy Goldhammer
 
Posts: n/a

Default Import Data With Dependencies - 08-05-2005 , 03:40 AM






Hello there

I have an empty database that i need to fill it with another database which
is similar. (backup of the current database)
In the database i have forign key constraints. So in order to enter data to
one table with foreign key i need to add the data first to the table with
the primary key and afterword to the table with the foreign key

The simple DTS does not ckeck it. Is there a way to make shure that the
primary key is being filled before the foreign key?

--
רועי גולדהמר
ש.מ. עתיד הנדסת תוכנה
roy (AT) atidsm (DOT) co.il
טל: 03-5611606
פלא' 050-7709399



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.