Regarding your doubts:
"it is acceptable to not fetch the actual rows, meaning that you wouldn't fetch any data from the table"
-> yes I wouldn't fetch any data from table, first because I don't need it, what i want is to just delete it using cursor maybe for some 100 records.Second, I can't fetch even I want to, because it's dynamic sql like this:
"select * from " || table-name (the table name is provided at run time and the table definition can be different all the time,some can have 1 column, some can have 3 columns, etc, so I can't declare variable to do fetch)
"it is not acceptable to use a constant - because you don't know what it is that you won't be getting.On second thoughts, no I don't understand."
-> Yes, you are right, I don't know and can't predict what kind of table that will be processed by this stored procedure.
What I want is actually very simple, delete current row and move to next row. That's all. Help plz