Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 536
  • Last Modified:

DTS ERROR

i am getting this error when i schedule to run this DTS package but no error when i am running it in sql analyzer.

Executed as user: IDDB01\SYSTEM. ...xecuting...   DTSRun OnStart:  Drop table Results Step   DTSRun OnFinish:  Drop table Results Step   DTSRun OnStart:  Create Table Results Step   DTSRun OnFinish:  Create Table Results Step   DTSRun OnStart:  Copy Data from Results to Results Step   DTSRun OnError:  Copy Data from Results to Results Step, Error = -2147217900 (80040E14)      Error string:  Warning: Null value is eliminated by an aggregate or other SET operation.      Error source:  Microsoft OLE DB Provider for SQL Server      Help file:        Help context:  0      Error Detail Records:      Error:  -2147217900 (80040E14); Provider Error:  8153 (1FD9)      Error string:  Warning: Null value is eliminated by an aggregate or other SET operation.      Error source:  Microsoft OLE DB Provider for SQL Server      Help file:        Help context:  0         Error:  -2147217900 (80040E14); Provider Error:  7399 (1CE7)      Error string:  OLE DB provider 'SQLOLEDB' reported an error. The provide.  The step failed.


any ideas why this is happening??
0
sassy168
Asked:
sassy168
  • 2
1 Solution
 
sassy168Author Commented:
even when i manually run the dts itworks just fine.!!
0
 
Anthony PerkinsCommented:
First of all this is not an error it is a Warning:
Warning: Null value is eliminated by an aggregate or other SET operation.  

That is why when you "manually run the dts itworks just fine",  you are not seeing the warning message.

What is happening is that you are using a GROUP BY clause and it contains NULLs.
0
 
sassy168Author Commented:
yes
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now