Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I Save .DTS file to SQL Server... 1

Status
Not open for further replies.

hneal98

Programmer
Aug 13, 2002
1,637
0
0
US
I need to know how to save a .DTS file to sql server. Is there a way?

Thanks in advance.
 
You can use the dts designer in enterprise manager or did you want to use t-sql?



======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Go to the server in enterprise manager
Rightclick on data transaformation services.
Then select open package, select the package.

The "package designer" gets opened and the dts package is shown. In the menu select 'package' and then select 'save as'.

In the 'save package' screen fill in a name etc. and in the location dropdownbox select 'SQL server'.

Now you have to select the server etc. you want to save it to.

The dts package is then stored in the 'local packages' of the server.

Atomic Wedgie
 
Perfect. AtomicWedgie, that was awesome.
 
However, if you have saved your DTS package in SQL Server you cannot always use the designed to edit/save (well, you can but it doesn't work properly) if you have complicated SQL statements.

It's easier to copy the details into Notepad and recreate a new DTS package (using the wizard) and when prompted to save, save as a DTS file (VB or Structured Storage File).

Hope this helps.
Rodboy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top