Reputation: 5225
The dynamic request looks like this:
request := 'select * from ' || param_table_name || ' where ' || column_name_list;
Then I do:
open cur1 for request;
The exact type of record fetched via cur1
isn't known until runtime, because it should impose no restrictions on whatever table this procedure is applied to. But then, how do I iterate through what the query returns?
Upvotes: 0
Views: 1780