all groups > sql server dts > april 2007 >
You're in the

sql server dts

group:

Regarding execute restore database in dts


Regarding execute restore database in dts Iter
4/13/2007 7:20:00 AM
sql server dts:
Hi Guys,
I want to design a dts that has two tasks, one task is retrieve backup file
name in the global variable, and second task get that file name, then restore
database from that file. I don't know which task I can use in send task that
I can get that file name from globle variable then execute restoration
database. Thanks.
Re: Regarding execute restore database in dts Allan Mitchell
4/14/2007 12:00:00 AM
Hello Iter,

OK how do you intend to pass in the filename to the Global Variable?

Once you have the filename in the variable you can use this article to execute
it in an ExecuteSQL task

http://www.sqldts.com/205.aspx



--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

AddThis Social Bookmark Button