Re: problem with Execute SQL Task
- From: "Nestor" <n3570r@xxxxxxxxx>
- Date: Wed, 13 Apr 2005 11:30:50 +0800
I found out that the problem for the failure is due to a linked server query
i did in my batch query.
If this DTS package is run manually it works but when i schedule it to run
periodically it fails. I read from
http://support.microsoft.com/?kbid=269074
that there are some permission issues with scheduled DTS and I saw from the
logfiles that the permission is denied when i query from a linked server....
Can someone help me with this?
"Allan Mitchell" <allan@xxxxxxxxxxxxxxxxxx> wrote in message
news:%23VOeg8xPFHA.2788@xxxxxxxxxxxxxxxxxxxxxxx
> Would following this article help?
>
> Formatting Character Data into Datetime fields
> (http://www.sqldts.com/default.aspx?249)
>
> Also.
>
> Be careful about who the user is. SQL Server will look at their language
> settings to determine how it thinks they are sending the value to it.
>
>
>
> "Nestor" <n3570r@xxxxxxxxx> wrote in message news:n3570r@xxxxxxxxx:
>
>> I'm trying to use the Execute SQL Task to call up a batch store procedure
>> that takes typically 1 hour to run. This batch procedure involves
>> retriving
>> data from linked servers and some heavy data processing.
>>
>> If I were to run this batch SP from query analyser there's no problems
>> but
>> everytime i run it from DTS it fails. Am I missing something here? Is
>> there
>> a timeout period for Execute SQL task?
>>
>> the error i get involves some smalldatetime conversion error... This SP
>> takes 1 input parameter with Nvarchar(15) as data type.... my global
>> variable is a string format....
>>
>> can anyone help me out with some suggestions? Thanks in advance
>
.
- Follow-Ups:
- Re: problem with Execute SQL Task
- From: Allan Mitchell
- Re: problem with Execute SQL Task
- References:
- problem with Execute SQL Task
- From: Nestor
- Re: problem with Execute SQL Task
- From: Allan Mitchell
- problem with Execute SQL Task
- Prev by Date: Using Global Variables in SQL Task
- Next by Date: Re: problem with Execute SQL Task
- Previous by thread: Re: problem with Execute SQL Task
- Next by thread: Re: problem with Execute SQL Task
- Index(es):
Relevant Pages
|