all groups > sql server dts > september 2005 >
You're in the

sql server dts

group:

Running a DTS job from Access...


Running a DTS job from Access... Ken D.
9/21/2005 1:19:05 PM
sql server dts:
I would like the client to control the dts import. Is it possible for the
Re: Running a DTS job from Access... Ken D.
9/21/2005 1:31:08 PM
Because there would be other step besides the dts transfer.

[quoted text, click to view]
Re: Running a DTS job from Access... Allan Mitchell
9/21/2005 8:25:15 PM
Yes it is possible. Why are you doing it as a job though when you could
execute the package directly

Redistributing DTS with your program
(http://www.sqldts.com/default.aspx?225)

Allan

[quoted text, click to view]
Re: Running a DTS job from Access... Allan Mitchell
9/21/2005 9:51:02 PM
OK then if you must so this then you could look to call sp_start_job on
the sql server.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sp_sa-sz_11uq.asp

So you want to use the job as a workflow engine?

Allan

[quoted text, click to view]
Re: Running a DTS job from Access... Allan Mitchell
9/22/2005 12:00:00 AM
DTS has very very little to do with SQL Server except the box in which
it comes. You can use DTS and never see a SQL Server data source ever
some of my clients bought SQL Server for DTS and effectively binned the
relational engine.

Regsitering the dlls on the box that says "Go" will accomplich what you
need.




[quoted text, click to view]
Re: Running a DTS job from Access... Ken D.
9/22/2005 9:48:02 AM
Allan,

Let me try and clarify what I am trying to accomplish. Currently, the user
has an Access database in which they import a text file from their host
system for generating reports. I am looking at consolidating the backend to
SQL and using DTS to transfer the data. I still want the user to be able to
click a button (which could fire some VB code to run the DTS or stored
procedure). I am not sure this is feasible without the user having SQL
access. I can put the DTS on a schedule however, I am not sure when the host
system export would be performed or how many times during the day it may be
exported. Giving the user the ability to import the data allows flexibility.

Is it even possible to accomplish this? I am new to SQL (but learning fast)
and was hoping to get better performance our of the Access database.

Ken

[quoted text, click to view]
AddThis Social Bookmark Button