oracle 创建表和索引时判断是否存在
一:版本低于Oracle 12c Release 2 -- 检查表是否存在,如果不存在则创建 DECLARE table_exists NUMBER; BEGIN SELECT COUNT(*) INTO table_exists FROM user_tables
一:版本低于Oracle 12c Release 2 -- 检查表是否存在,如果不存在则创建 DECLARE table_exists NUMBER; BEGIN SELECT COUNT(*) INTO table_exists FROM user_tables