Hi Deiter,
Thank you for the quick response.
I do understand the problem if the no. of tables increase. The problem is that I am keeping history of these counts for audit purpose. This is why i am converting these rows to columns and didn't find a better way to accomplish this.
I have a similar process in MSSQL and was trying to convert it to Teradata but couldn't. If you or anyone can help, here is the working code for MSSQL server, I need to convert that code to Teradata. Thanks:
Hi Deiter,
Thank you for the quick response.
I do understand the problem if the no. of tables increase. The problem is that I am keeping history of these counts for audit purpose. This is why i am converting these rows to columns and didn't find a better way to accomplish this.
I have a similar process in MSSQL and was trying to convert it to Teradata but couldn't. If you or anyone can help, here is the working code for MSSQL server, I need to convert that code to Teradata. Thanks: