all groups > sql server dts > march 2004 >
You're in the

sql server dts

group:

DTS vs Job Problem for 2 Digit Date format


DTS vs Job Problem for 2 Digit Date format Norm
3/31/2004 10:40:06 PM
sql server dts:
I've create a DTS package to load a text Document to a
existing table into SQL ,one of the field is a datetime
field,went i execute the package manually i get a date of
2049 for a 2 digit year of 01/01/49 but went i execute the
same DTS thru a Job i get a date of 01/01/1949 .

Does anyone experience the same problem?
Any idea how this can be fix ?

Re: DTS vs Job Problem for 2 Digit Date format Norm
3/31/2004 11:10:16 PM
I did that , Like i mention it is working ok if i execute
the package by itself into the dts but as soon as i
schedule a Job the date get's import as 1949 instead of
2049

I also change the SQL option to start date of 1967
[quoted text, click to view]
Re: DTS vs Job Problem for 2 Digit Date format Norm
4/1/2004 1:11:09 AM
But the Jobs is execute on the same server itself where the DTS package is store
The Job was created from the DTS to run on that server

Nor

----- Phill wrote: ----

When you execute the DTS package it is running locally, so it will use th
settings on your workstation. When it runs as from a scheduled job, it wil
use the settings on the server



"Norm" <anonymous@discussions.microsoft.com> wrote in messag
news:13e2401c417b8$6293ef20$a601280a@phx.gbl..
[quoted text, click to view]
Re: DTS vs Job Problem for 2 Digit Date format Allan Mitchell
4/1/2004 11:11:13 AM
When you execute a DTS package it comes to you. It doesn't matter where it
is stored. it will be executed on the caller's PC and will use the caller's
resources ergo when you execute it manually it is on your PC not the server.
The job will execute on the server itself.

--

----------------------------

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


[quoted text, click to view]

Re: DTS vs Job Problem for 2 Digit Date format norm
4/1/2004 4:26:03 PM
The DTS & The job is execute directly on the server ?

Norm

----- Allan Mitchell wrote: -----

When you execute a DTS package it comes to you. It doesn't matter where it
is stored. it will be executed on the caller's PC and will use the caller's
resources ergo when you execute it manually it is on your PC not the server.
The job will execute on the server itself.

--

----------------------------

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


[quoted text, click to view]
Re: DTS vs Job Problem for 2 Digit Date format Phill
4/1/2004 4:46:12 PM
Check the Date tab in the Regional Options control panel.

--
Thanks
Phill Carter
#562421

[quoted text, click to view]

Re: DTS vs Job Problem for 2 Digit Date format Phill
4/1/2004 6:06:11 PM
When you execute the DTS package it is running locally, so it will use the
settings on your workstation. When it runs as from a scheduled job, it will
use the settings on the server.



[quoted text, click to view]

Re: DTS vs Job Problem for 2 Digit Date format Norm
4/1/2004 9:51:04 PM
Forgot to Mention that if i run the DTS from The Agent or at the command Prompt my date format is ok it will show 2049 .

It seem to be only went i run from the Job Management were the date show 1949 .???

Need help please?

Thanks

----- norm wrote: -----

The DTS & The job is execute directly on the server ?

Norm

----- Allan Mitchell wrote: -----

When you execute a DTS package it comes to you. It doesn't matter where it
is stored. it will be executed on the caller's PC and will use the caller's
resources ergo when you execute it manually it is on your PC not the server.
The job will execute on the server itself.

--

----------------------------

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


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