Viewing 7 posts - 1 through 7 (of 7 total)
ALZDBA (4/10/2009)
(service account of sqlagent or proxy account of the sql jobstep...
April 10, 2009 at 5:56 am
Then the sub-package itself stops, but the main package continues since it doesn't get a failure back from the subpackage.
January 30, 2009 at 12:31 am
I found something on MS TechNet, in VB, but I'n not sure on how to use it in DTS;
Option Explicit
Private WithEvents objPackage As DTS.Package
. . .
Private...
January 29, 2009 at 1:15 am
Thanks for your help Greg but this exactly how I have it right now but the package stops before the on failure step is executed for the audit table.
I'm using...
January 29, 2009 at 12:54 am
Guys, I tried both;
First results of print @sql;
INSERT INTO dbo.ImportError
(DataElementID, CenterCode, ValueType, ValueDate, [Value], ImportDate, BatchID, ErrorReason)
SELECT DataElementID, CenterCode, ValueType, ValueDate, [Value], GetDate(), '463', 'DataElementID too...
January 16, 2009 at 7:50 am
Thanks but I just tried the same solution by Ronald but get the OPTIMIZER LOCK HINTS error.
January 16, 2009 at 4:46 am
r.hensbergen (1/16/2009)
This way the code expects @ErrorReason to be a column name, to prevent this, replace ' + @ErrorReason + '
with ''' + @ErrorReason + '''...
January 16, 2009 at 4:43 am
Viewing 7 posts - 1 through 7 (of 7 total)