Showing posts with label group. Show all posts
Showing posts with label group. Show all posts

Thursday, March 29, 2012

DTS file name to include System Date/Time

We have an application group that wants to pull date from SQL Server and write it to text file on the server. They want the file format to be 12100_YYYMMDDHHMM.fr1 for one set of data, 12100_YYYMMDDHHMM.fr2 for a second set...and so on. The '12100' is fixed, but the rest of the file name will always have to include the system date/time. Is there an easy way to do this within a DTS package (when writing to the output file)?

I would really appreciate help on this. Thank you.Hi

You can set a global variable to the fixed part at the start of the process. This should help http://www.sqldts.com/default.aspx?200 although you want to set a global variable rather than a local one.

John
"steven virnig" <pezguy@.mn.rr.com> wrote in message news:o1ovd.114089$ye4.34831@.twister.rdc-kc.rr.com...
We have an application group that wants to pull date from SQL Server and write it to text file on the server. They want the file format to be 12100_YYYMMDDHHMM.fr1 for one set of data, 12100_YYYMMDDHHMM.fr2 for a second set...and so on. The '12100' is fixed, but the rest of the file name will always have to include the system date/time. Is there an easy way to do this within a DTS package (when writing to the output file)?

I would really appreciate help on this. Thank you.

Wednesday, March 21, 2012

DTS Copy SQL Server

hello all
i have problem with dts copy sql server
error : [Microsoft][ODBC SQL Server Driver][SQL Server]Windows NT user or group 'TCW\Administrator' not found. Check the name again.
thx b 4I think you need to be a wee bit more specific...

But here goes...

sounds like you're trying to copy data to another server from your server, and the other server is set up as windows only security...AND your system account is not on the domain...

sound close?

Sunday, February 26, 2012

DTS

Hello Group,
I would like to know if DTS can be used to migrate data
from db2 to sqlserver2000.
Any pointers would be great!!
Thanks for the help,
Chris.See if this helps -
http://databasejournal.com/features/mssql/article.php/1444051 I would also
check sqldts.com
Ray Higdon MCSE, MCDBA, CCNA
--
"chris" <chris@.nospam.com> wrote in message
news:2QGPb.5113$ro4.79@.nwrdny02.gnilink.net...
> Hello Group,
> I would like to know if DTS can be used to migrate data
> from db2 to sqlserver2000.
> Any pointers would be great!!
> Thanks for the help,
> Chris.
>

Friday, February 24, 2012

DTS

Hello Group,
I would like to know if DTS can be used to migrate data
from DB2 to sqlserver2000.
Any pointers would be great!!
Thanks for the help,
Chris.See if this helps -
http://databasejournal.com/features...cle.php/1444051 I would also
check sqldts.com
Ray Higdon MCSE, MCDBA, CCNA
--
"chris" <chris@.nospam.com> wrote in message
news:2QGPb.5113$ro4.79@.nwrdny02.gnilink.net...
quote:

> Hello Group,
> I would like to know if DTS can be used to migrate data
> from DB2 to sqlserver2000.
> Any pointers would be great!!
> Thanks for the help,
> Chris.
>

dtexec over the network

Hi All,

I'm trying to execute DTExec from a workstation and I got some help from a different group without luck maybe someone here can help me.

This is what I try so far.

1. My package run in command line from my sql box using dtexec with
parameters.
2. Set the package with DontSaveSensitive and import into IS under MSDB with
the same option setup.
3. Set package role to public.
4. Share DTS folder with everyone permission just for testing.
5. Execute the package from a workstation using
//sqlServerbox/DTS/BINN/dtexec /dts "msdb/mypackage" /SER "MySQLServer" /set
\package.variables[myvariable].Value;"myvalue1,myvalue2"
(myvariable is string and I can pass multiple values separate by commas)
6. Still getting error:
Error: 2007-02-09 10:31:34.31
Code: 0xC0010018
Source: Execute DTS 2000 Package Task
Description: Error loading a task. The contact information for the task
is "E
xecute DTS 2000 Package Task;Microsoft Corporation; Microsoft SQL Server v9;
? 2
004 Microsoft Corporation; All Rights
Reserved;http://www.microsoft.com/sql/supp
ort/default.asp;1". This happens when loading a task fails.
End Error

Anyone has any ideas?

Any help will be appreciate it. Tks in advance...

Rgds

Johnny

You can't just run DTEXEC without installing it. You need to install SSIS locally.|||

That is not true... I can run a package from a workstation without installing IS, I share the dts folder and it's working...

Anybody else try this?

Tks

JFB

|||

I don't understand. You start a thread by asking why it does not work. Now you claim it is working.

Do you have Client Components installed on the workstation? If you do, you can simply run your own DTEXEC from Program Files instead of running it from network share.

|||Tks for you reply. If you read my first post with careful you will see that the package run without installing IS on the workstation. I have and error and thats my problem, I can't figure out the error ... I believe is a security issue but I don't know how to fix this.
I will keep trying to get more info about it or if anybody try this or know how to solve this problem.
Rgds

JFB|||

DTSuser wrote:

Tks for you reply. If you read my first post with careful you will see that the package run without installing IS on the workstation. I have and error and thats my problem, I can't figure out the error ... I believe is a security issue but I don't know how to fix this.
I will keep trying to get more info about it or if anybody try this or know how to solve this problem.
Rgds

JFB

Right, but I think what Michael is saying is that even though dtexec executes, you are still missing libraries and such that will be required to execute that. You aren't executing dtexec on the remote box, you are executing a remote copy of dtexec on your box. Hence, you will need to install the SSIS client tools.

Sunday, February 19, 2012

DTC Hell

What's the best group in which to ask about DTC issues?I think I've seen them posted all over but I'd probably try
the server group. Some of the issues are related to the
Windows Server 2003 changes and I think I've seen answers to
those more often in the server group.
-Sue
On Mon, 3 Jul 2006 19:52:17 -0400, "Jeff Johnson"
<i.get@.enough.spam> wrote:

>What's the best group in which to ask about DTC issues?
>|||but I dont know as you
Part Pic
If you are interested in the computer,you can come to my picture
www.flickr.com/photos/partpic/.
We are the professional photograph website about the computer.
there are o lot of picture of some kinds of computer ,include
BIM,SUN,HP,EMC,HDS and others.Welcome you!
Jeff Johnson wrote:
> What's the best group in which to ask about DTC issues?