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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving DTS Packages name 1

Status
Not open for further replies.

davideart

Programmer
Apr 4, 2001
55
IT
Hy all.

I have created a lot of SQL DTS packages (saved on server msdb) and I would like to know how I can retrieve their names using a VB application.
That means:
1) are the DTS names saved in some DB table?
or
2) can I retrieve them from a stored procedure?
or
3) some other way?

Any help will be greatly appreciated.
Thank you in advance, David


 
Using this sql statement after your Vb code connection string.

"use msdb
select distinct name from sysdtspackages"

HTH Ashley L Rickards
SQL DBA
 
Thank you ASH001, this is just what I needed to know.
I voted your post helpful.

Bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top