下面的代码块抛出错误..
DECLARE
TYPE dbadaptor IS VARRAY (9) OF VARCHAR2(20);
min_date DATE;
max_date DATE;
db dbadaptor := dbadaptor('wsf_ds_11765_c', 'wsf_ds_11750_c',
'wsf_ds_11756_c', 'wsf_ds_11759_c',
'wsf_ds_11706_c', 'wsf_ds_11709_c',
'wsf_ds_11751_c', 'wsf_ds_11708_c',
'wsf_ds_11762_c');
BEGIN
FOR i IN 1..9 LOOP
SELECT
from_sf_date(max(start_time)),
from_sf_date(min(start_time))
INTO max_date, min_date
FROM db(i);
END LOOP;
END;
我在第 8 行收到错误“PL/SQL:ORA-00933:SQL 命令未正确结束”,这是因为 db(i)...。你能帮帮我吗