dbTalk Databases Forums  

DTS vs Job Problem for 2 Digit Date format

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


Discuss DTS vs Job Problem for 2 Digit Date format in the microsoft.public.sqlserver.dts forum.



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

Default DTS vs Job Problem for 2 Digit Date format - 04-01-2004 , 01:40 AM






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 ?

Thanks

Reply With Quote
  #2  
Old   
Phill
 
Posts: n/a

Default Re: DTS vs Job Problem for 2 Digit Date format - 04-01-2004 , 01:46 AM






Check the Date tab in the Regional Options control panel.

--
Thanks
Phill Carter
#562421

"Norm" <nbrault (AT) sympatico (DOT) ca> wrote

Quote:
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 ?

Thanks



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

Default Re: DTS vs Job Problem for 2 Digit Date format - 04-01-2004 , 02:10 AM



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
Quote:
-----Original Message-----
Check the Date tab in the Regional Options control panel.

--
Thanks
Phill Carter
#562421

"Norm" <nbrault (AT) sympatico (DOT) ca> wrote in message
news:16ba301c417b4$2b9195d0$a401280a (AT) phx (DOT) gbl...
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 ?

Thanks


.


Reply With Quote
  #4  
Old   
Phill
 
Posts: n/a

Default Re: DTS vs Job Problem for 2 Digit Date format - 04-01-2004 , 03:06 AM



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.



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

Quote:
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
-----Original Message-----
Check the Date tab in the Regional Options control panel.

--
Thanks
Phill Carter
#562421

"Norm" <nbrault (AT) sympatico (DOT) ca> wrote in message
news:16ba301c417b4$2b9195d0$a401280a (AT) phx (DOT) gbl...
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 ?

Thanks


.




Reply With Quote
  #5  
Old   
Norm
 
Posts: n/a

Default Re: DTS vs Job Problem for 2 Digit Date format - 04-01-2004 , 04:11 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 (AT) discussions (DOT) microsoft.com> wrote in messag
news:13e2401c417b8$6293ef20$a601280a (AT) phx (DOT) gbl..
Quote:
I did that , Like i mention it is working ok if i execut
the package by itself into the dts but as soon as
schedule a Job the date get's import as 1949 instead o
204
I also change the SQL option to start date of 196
-----Original Message----
Check the Date tab in the Regional Options control panel
--
Thank
Phill Carte
#56242
"Norm" <nbrault (AT) sympatico (DOT) ca> wrote in messag
news:16ba301c417b4$2b9195d0$a401280a (AT) phx (DOT) gbl..
I've create a DTS package to load a text Document to
existing table into SQL ,one of the field is a datetim
field,went i execute the package manually i get a dat
o
2049 for a 2 digit year of 01/01/49 but went i execut
th
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
Thank



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

Default Re: DTS vs Job Problem for 2 Digit Date format - 04-01-2004 , 05:11 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


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

Quote:
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?

Norm

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

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.



"Norm" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:13e2401c417b8$6293ef20$a601280a (AT) phx (DOT) gbl...
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
-----Original Message-----
Check the Date tab in the Regional Options control panel.
--
Thanks
Phill Carter
#562421
"Norm" <nbrault (AT) sympatico (DOT) ca> wrote in message
news:16ba301c417b4$2b9195d0$a401280a (AT) phx (DOT) gbl...
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 ?
Thanks
.




Reply With Quote
  #7  
Old   
norm
 
Posts: n/a

Default Re: DTS vs Job Problem for 2 Digit Date format - 04-01-2004 , 07:26 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


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

Quote:
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?
Norm
----- Phill wrote: -----
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.
"Norm" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:13e2401c417b8$6293ef20$a601280a (AT) phx (DOT) gbl...
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
-----Original Message-----
Check the Date tab in the Regional Options control panel.
--
Thanks
Phill Carter
#562421
"Norm" <nbrault (AT) sympatico (DOT) ca> wrote in message
news:16ba301c417b4$2b9195d0$a401280a (AT) phx (DOT) gbl...
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 ?
Thanks
.


Reply With Quote
  #8  
Old   
Norm
 
Posts: n/a

Default Re: DTS vs Job Problem for 2 Digit Date format - 04-02-2004 , 12:51 AM



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


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

Quote:
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?
Norm
----- Phill wrote: -----
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.
"Norm" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:13e2401c417b8$6293ef20$a601280a (AT) phx (DOT) gbl...
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
-----Original Message-----
Check the Date tab in the Regional Options control panel.
--
Thanks
Phill Carter
#562421
"Norm" <nbrault (AT) sympatico (DOT) ca> wrote in message
news:16ba301c417b4$2b9195d0$a401280a (AT) phx (DOT) gbl...
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 ?
Thanks
.


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.