HoustonGuy
Programmer
I have a very, very wide resultset that I create for our processes. Once the first iteration of the table is created, I conditionally update a lot of the fields using additional statements. I have about 50 statements that update the table based on various conditions. Some of these statements use temp tables and lookup tables also.
I have kept this SQL code linear during testing, to ensure all is well. Now I need to make this code manageable, so my thoughts are that many, if not all of these statements should be put in their own prospective stored procedures - for many reasons. Mainly usability, and manageability, etc.
Does this sound like the correct plan of action?
Thank you in advance!
I have kept this SQL code linear during testing, to ensure all is well. Now I need to make this code manageable, so my thoughts are that many, if not all of these statements should be put in their own prospective stored procedures - for many reasons. Mainly usability, and manageability, etc.
Does this sound like the correct plan of action?
Thank you in advance!