use count(*) in EXECUTE IMMEDIATE
633972Dec 11 2008 — edited Dec 11 2008Hi All,
I use Oracle 10g R2.
I am trying to get the count of records in a table, whose name is given at runtime. I am not sure how to return the count(*) value into a variable.
I need to do processing based on that count.
I thought i can use the returning into clause, but that seem to work only with column names.
Any suggestions/indiactors appreciated.
Thank you.
GK