PLSQL and variable TABLE Name

From: Annett Tempel <annett.tempel_at_gmx.de>
Date: Sat, 21 Jul 2001 21:53:10 GMT
Message-ID: <9gd51p$ngk$1_at_news.nrw.net>


Hi,

I have a short question.
[Quoted] [Quoted] I have to write a SQL-Statement where I count the records. thats no problem.

Code:
  CURSOR zaehler_cursor (tab_xx VARCHAR2:=tabelle) IS

      SELECT COUNT(*)
      FROM tab_xx;

you see that I'll give the tablename with a parameter. But there
is a mistake and I dont know where? Can you help me?

Thanks and sorry for my english
Annett Received on Sat Jul 21 2001 - 23:53:10 CEST

Original text of this message