I have a DTS package created in SQL 2000 that has a Execute SQL Task which in turn calls a Stored Procedure.
In the Stored Procedure, I'm trying to delete a record from a table that could have foreign keys constraints if the employee has transactional history. I am trapping the error in the stored procedure and returning an error number to the calling DTS step.
Even though I trap for this error, it still caused the DTS step to fail. Is there any way to clear the error being raised so that the DTS package continues processing?
Any help would be appreciated.
thanks,
Gordon Radley
In the Stored Procedure, I'm trying to delete a record from a table that could have foreign keys constraints if the employee has transactional history. I am trapping the error in the stored procedure and returning an error number to the calling DTS step.
Even though I trap for this error, it still caused the DTS step to fail. Is there any way to clear the error being raised so that the DTS package continues processing?
Any help would be appreciated.
thanks,
Gordon Radley