dbTalk Databases Forums  

Re: Execute dts in remote server

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


Discuss Re: Execute dts in remote server in the microsoft.public.sqlserver.dts forum.



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

Default Re: Execute dts in remote server - 09-04-2003 , 05:06 AM






You could send the client the file + table structure + format file and ask
the client to use BULK INSERT tsql statement
You could send him the file and then use BULK INSERT task in DTS which will
let you create the format within.
You could use bcp.



--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"rajesh jacob" <rajeshjacob (AT) yahoo (DOT) co.in> wrote

Quote:
hai,

i got some data ported in to a text file from my local
server. noW the requirement is to port this text file in
my clients server in another location, which i dont have
any accessibility. can i achieve the same with the help of
dts package with the help of a dsn at client machine.

Can i make a DTS package which i can send to him , that he
can execute at client site and that data can be ported in
that server.?


thanks


rajesh




Reply With Quote
  #2  
Old   
rajesh jacob
 
Posts: n/a

Default Re: Execute dts in remote server - 09-10-2003 , 06:21 AM






dear Allan Mitchell,

thanks for your prompt reply. i tried this already by
sending him a sql script file and data file performing
BULK INSERT. OUR CLIENT doesnot have any power to execute
bulk insert and he can not copy any file in to the server
where data base lies.

i want to make a dts package that client needs to execute
that only which will perform the action.is it possible.i
mean only the package i can send ,the server details and
database ... the package has to take from a system or user
dsn as i can not choose any server while making a package
as its not accessible.

thanks

rajesh



Quote:
-----Original Message-----
You could send the client the file + table structure +
format file and ask
the client to use BULK INSERT tsql statement
You could send him the file and then use BULK INSERT task
in DTS which will
let you create the format within.
You could use bcp.



--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"rajesh jacob" <rajeshjacob (AT) yahoo (DOT) co.in> wrote in message
news:185501c372c8$62cca3f0$a501280a (AT) phx (DOT) gbl...
hai,

i got some data ported in to a text file from my local
server. noW the requirement is to port this text file in
my clients server in another location, which i dont have
any accessibility. can i achieve the same with the help
of
dts package with the help of a dsn at client machine.

Can i make a DTS package which i can send to him , that
he
can execute at client site and that data can be ported
in
that server.?


thanks


rajesh



.


Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Execute dts in remote server - 09-10-2003 , 06:57 AM



You can then

1. Send him a DTS package (.DTS)
2 A VBScript file (This will call the package using the DTS object model)
3. Inside the VBS file ask for input from the person running it and pass
these details to the object model and set properties in your package i.e.
servername, databasename, filename etc etc etc.
4. A text file containing the data

So long as he has the DTS library on his box this should work.

The package will simply use a DataPump task.

If the guy you send it to does not have the DTS library installed then send
him detailed instructions on how to use OSQL (for the CREATE TABLE Script)
and BCP (For the import)


--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"rajesh jacob" <rajeshjacob (AT) yahoo (DOT) co.in> wrote

Quote:
dear Allan Mitchell,

thanks for your prompt reply. i tried this already by
sending him a sql script file and data file performing
BULK INSERT. OUR CLIENT doesnot have any power to execute
bulk insert and he can not copy any file in to the server
where data base lies.

i want to make a dts package that client needs to execute
that only which will perform the action.is it possible.i
mean only the package i can send ,the server details and
database ... the package has to take from a system or user
dsn as i can not choose any server while making a package
as its not accessible.

thanks

rajesh



-----Original Message-----
You could send the client the file + table structure +
format file and ask
the client to use BULK INSERT tsql statement
You could send him the file and then use BULK INSERT task
in DTS which will
let you create the format within.
You could use bcp.



--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"rajesh jacob" <rajeshjacob (AT) yahoo (DOT) co.in> wrote in message
news:185501c372c8$62cca3f0$a501280a (AT) phx (DOT) gbl...
hai,

i got some data ported in to a text file from my local
server. noW the requirement is to port this text file in
my clients server in another location, which i dont have
any accessibility. can i achieve the same with the help
of
dts package with the help of a dsn at client machine.

Can i make a DTS package which i can send to him , that
he
can execute at client site and that data can be ported
in
that server.?


thanks


rajesh



.




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.