Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Description: Difference of two datetime columns caused overflow at runtime.

$
0
0

Hi all my package was running good until last weekend where i'm getting the following error

Message

Executed as user: AD\MOSS_BI. ...te Package Utility  Version 9.00.3042.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  2:00:04 AM  Error: 2012-07-23 02:47:49.55     Code: 0x00000000     Source: Get Duration      Description: Difference of two datetime columns caused overflow at runtime.  End Error  Error: 2012-07-23 02:47:49.56     Code: 0xC002F210     Source: Get Duration Execute SQL Task     Description: Executing the query "update dbo.FACT_InspectionDetails  set SecondsDuration = dbo.FN_GET_INSPECTION_DURATION_SECONDS(                  ScheduledDateTime       ,RequestedDateTime     ,InspectionDateTime  )" failed with the following error: "The statement has been terminated.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  2:00:04 AM  Finished: 2:55:44 AM  Elapsed:  3.  The step failed.

I have no idea why it failed all of a sudden as nothing was changed. I the looked at the FUNCTION which i think was causing the problem, its an EXECUTE SQL TASK:

update dbo.TABLE_NAMEset SecondsDuration = dbo.FN_GET_INSPECTION_DURATION_SECONDS( ScheduledDateTime ,RequestedDateTime ,InspectionDateTime)

Can anyone please tell me what going wrong here?

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>