Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> PLSQL and variable Table Names
Hi,
I have a short question.
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 Fri Jun 15 2001 - 10:47:50 CDT
![]() |
![]() |