如果没有into,tables_found过程将运行,但我需要检查数据库中是否存在此表。CREATE OR replace PROCEDURE dropdb(tables_found out number) IS
BEGINexecute immediate 'SELECT COUNT(*) into tables_found FROM user_tables where table_name=''USERS''
) { const query = "SELECT COUNT(*) AS tables_found_count`tables` WHERE `TABLE_SCHEMA` = 'kaffeeportal' AND `TABLE_NAME` IN ('users', 'coffees', 'invoices');"