My Question is about the variable names and their data type.
Code:
OPEN C1; FETCH c1 into var1, var2 ...
I can get the column names of the table. But for fetching data into variables var1, var2 etc. I need to define them before using them in FETCH statements. How this can be done dynamically? I hope I am able to convey my problem correctly.
Please advise.