dbTalk Databases Forums  

Execute Package from ASP Problem

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Execute Package from ASP Problem in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rabbani
 
Posts: n/a

Default Execute Package from ASP Problem - 10-17-2003 , 11:07 AM






Hi Darren,

I have been trying since two days to look at your reply
for my question. But due to some reason, it says the
message is unavailable. Can you please post it once again.

Thanks,

Quote:
-----Original Message-----
Message unavailable

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Execute Package from ASP Problem - 10-20-2003 , 04:25 AM






Hardly worth the wait...



Simplest way to do this is to use a SQL Agent job. Use a SQL command
called from ASP to start the job.


--
Darren Green
http://www.sqldts.com



"Rabbani" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi Darren,

I have been trying since two days to look at your reply
for my question. But due to some reason, it says the
message is unavailable. Can you please post it once again.

Thanks,

-----Original Message-----
Message unavailable



Reply With Quote
  #3  
Old   
Rabbani
 
Posts: n/a

Default Re: Execute Package from ASP Problem - 10-20-2003 , 11:27 AM



Thanks for your reply. I am new to dts. I will be very
thankful to you if you can please provide an example.

Thanks

Quote:
-----Original Message-----
Hardly worth the wait...



Simplest way to do this is to use a SQL Agent job. Use a
SQL command
called from ASP to start the job.


--
Darren Green
http://www.sqldts.com



"Rabbani" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:076801c394c8$b5d8a4f0$a001280a (AT) phx (DOT) gbl...
Hi Darren,

I have been trying since two days to look at your reply
for my question. But due to some reason, it says the
message is unavailable. Can you please post it once
again.

Thanks,

-----Original Message-----
Message unavailable


.


Reply With Quote
  #4  
Old   
Darren Green
 
Posts: n/a

Default Re: Execute Package from ASP Problem - 10-21-2003 , 02:52 PM



In article <0a9501c39727$1332c940$a601280a (AT) phx (DOT) gbl>, Rabbani
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
Thanks for your reply. I am new to dts. I will be very
thankful to you if you can please provide an example.

Thanks

-----Original Message-----
Hardly worth the wait...



Simplest way to do this is to use a SQL Agent job. Use a
SQL command
called from ASP to start the job.

First of create your package.

Next right-click the package and select the Schedule option. Accept the
defaults.

Now navigate to the SQL Server Agent Jobs, and open the job your just
created above. The name of the job is the name of the package. Delete
the job schedule since you won't need it.


Now in ASP just use a regular ADO connection to connect to your DB and
execute the sp_start_job stored procedure, passing the name of the job.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.