SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


PLEASE HELP CREATING A DTS PACKAGE


PLEASE HELP CREATING A DTS PACKAGE

Author
Message
John Paul-702936
John Paul-702936
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1682 Visits: 633
hi ,

Pls help me to create DTS package ..
I have report in excel sheet .. i want to copy the data to a table
while copying the data i want to check whether the one column name Family_ID exists in the existing DB table .. if yes ... then that row need to be updated .. If not exists ... the row need to be inserted

Please help me or guide me to create a package ..
I don't have much idea on creating packages ..please help me ...
wschampheleer
wschampheleer
SSCertifiable
SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)

Group: General Forum Members
Points: 5066 Visits: 303
What version of SQL Server are you using? I strongly suggest you upgrade to SQL2005 or 2008 and use SSIS instead of DTS.

Regards,

Willem
http://wschampheleer.wordpress.com
mark.pleasance
mark.pleasance
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2016 Visits: 261
Obligatory MS Technet article - Creating a DTS package . . .
(Assuming SQL 2000 since we're in the 2000 forum)
http://technet.microsoft.com/en-us/library/cc917688.aspx

Rather than perform "all" the tasks on the fly . . .
you could split things up a bit . . .
i.e.
1.) Get the data into a table in the DB
2.) Use that newly imported data to update the other table(s)

Start off by using the DTS import wizard
- Open SQL Server Enterprise Manager
- Right click on the DB
- Select "All Tasks"
- Select "Import Data"
(run through the wizard and at the end - Save the DTS Package)

Navigate down the Enterprise Manager tree to "Data Transformation Services"
(and the package you just created/saved.)

Right click on the package and select "Design Package"

You'll see the graphical workspace . . .
(with the steps the wizard used to import the data . . . )

With data import task completed you can easily add in "Workflow"s & extra "Task"s to manipulate the data / perform jobs / etc.

Free Expert Advice . . .
http://xkcd.com/627/

Mark
Steve Jones
Steve Jones
SSC Guru
SSC Guru (594K reputation)SSC Guru (594K reputation)SSC Guru (594K reputation)SSC Guru (594K reputation)SSC Guru (594K reputation)SSC Guru (594K reputation)SSC Guru (594K reputation)SSC Guru (594K reputation)

Group: Administrators
Points: 594865 Visits: 21009
I'd agree with the above. Use the Export wizard or Import Wizard to get a base package.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search