Capturing deleted hashed records count
Posted: Thu Apr 15, 2010 4:31 pm
Hello,
I have a job that deletes hashed file records using a UV stage. I would like to take a count of the records that will be deleted but I do not like the solution of a SELECT COUNT(*) before the DELETE. I would like to know whether there is a way of capturing the count of the deleted records as a result of the same SQL DELETE operation on the hashed file (like the automatic count that is shown at the end of a SQL DELETE against a relational database).
Thanks
I have a job that deletes hashed file records using a UV stage. I would like to take a count of the records that will be deleted but I do not like the solution of a SELECT COUNT(*) before the DELETE. I would like to know whether there is a way of capturing the count of the deleted records as a result of the same SQL DELETE operation on the hashed file (like the automatic count that is shown at the end of a SQL DELETE against a relational database).
Thanks