Hello SCN folks,
I would need your suggestion on how to go on with writing procedures. I have two tables with few million records.
1) I need to loop through each and every record of table1 and check a specific field value in table 2
2) I also have to add imperative logic in the same procedure for example IF certain condition is true then select the value of two fields and perform some calculation
I tried to do this, but my hana studio hung up saying its checking and never recovered. It also slowed down my system to great extent to which I had to uninstall HANA studio completely and reinstall again. Is it because that my query is not optimized?
So, could any1 please tell me if it is a good idea to do everything in the same procedure or should I implement multiple procedures. Any help would be appreciated.
Thanks