Hi
In my stored procedure I have a select query which gives me a number as a select, example
'Select days from service where cid = 1', where days is the integer number.
Now for this value(days) I want to execute a insert query into another table.
means if days is 3 I will execute that same insert query 3 times.
How do I take care of this in my stored procedure.
Thanks