Without into tables_found procedure will run but i need to check if this table exist in my database .
CREATE OR replace PROCEDURE dropdb(tables_found out number) IS
BEGIN
execute immediate 'SELECT COUNT(*) into tables_found FROM user_tables where table_name=''USERS''';
if (tables_found = 1) then
execute immediate ' drop table users';
END IF;
END dropdb;
ERROR LOG :
ora-00905 missing keyword