PLEASE HELP CREATING A DTS PACKAGE

  • 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 ...

  • 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[/url]

  • 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

  • I'd agree with the above. Use the Export wizard or Import Wizard to get a base package.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply