Quantcast
Viewing all articles
Browse latest Browse all 9052

Re: How to do a WHILE DO loop on data from a SQL Calculation View

Thank you Shree, Jody, and Ravi,

 

The ignorance is all my end - I apologize and appreciate your help. I agree there are many issues. I have cleaned up the code and resolved many of the issues. I now can create the table, create the procedure, and call the procedure. Unfortunately I obtained 0 rows of data. Please see my TXT file attached.

 

I create a table with 3 primary keys/attributes and 2 measures from another calculation view(SQL). I also add 8 variable columns to this table.

 

I then create the procedure to build the table that contain the While Do statement.  The goal is to iterate on the 8 variable columns until the condition is met.

 

Finally I call the procedure.


Viewing all articles
Browse latest Browse all 9052

Trending Articles