Results 1 to 4 of 4

Thread: MS SQL> How to save DTS Package?

  1. #1
    Join Date
    Aug 2004
    Posts
    2

    MS SQL> How to save DTS Package?

    Hello!

    I'm trying to save DTS Package from SQL Server to Structured Storage File WITH metadata?

    i used dtsrun:
    DTSRUN.EXE -S "SERVER" -E -N "DTS PACKAGE" -F "C:\TEMP\DTS PACKAGE.DTS" -!X
    but saved package does not include metadata (i loose object positions, connections are doubled, i loose text descriptions, ...)

    Do anybody knows how to save Package that would include metadata (like if saved manualy from SQL Enterprise Manager console)?

    Thanks,
    Stefan Furlan

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    I don't think you can use DTSrun.exe to save a package, this is for executing the package.

  3. #3
    Join Date
    Aug 2004
    Posts
    2
    You can...
    The result is not what i would like

    try command:
    DTSRUN.EXE
    -S "SERVERNAME"
    -E
    -N "PACKAGENAME"
    -F "C:\TEMP\PACKAGENAME.DTS"
    -!X

    This command takes package PACKAGENAME from Sql Server Repository and saves it to file C:\TEMP\PACKAGENAME.DTS and does not execute it (-!X).


    Try that. Then open the saved file. You will see the diference between file saved with DTSRUN and file saved manuali from Enterprise Manages console.

  4. #4
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    I see this in books online for !X

    /!X

    Blocks execution of the selected DTS package. Use this command parameter when you want to create an encrypted command line without executing the DTS package

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •