Oracool,
Thought I'd try a different tack to do the same thing but still no luck, Can you see what's wrong eith this?
1 PROCEDURE cnt_tbl (var1 IN VARCHAR2) AS
2 cid INTEGER;
3 BEGIN
4 cid := DBMS_SQL.OPEN_CURSOR;
5 DBMS_SQL.PARSE(cid,'SELECT COUNT(*) FROM...