1. 创建表空间: BEGIN DECLARE cnt integer := 0; BEGIN SELECT 1 INTO cnt FROM dual WHERE exists(SELECT * FROM user_tablespaces WHERE tablespace_name = UPPER(TRIM('TEST'))); IF cnt != 0 THEN DECLARE s VARCHAR2(500); BEGIN s := 'DROP TABLESPACE TEST INCLUDING…