這是我的代碼, Declare
For num IN 1..10 LOOP
Continue When Mod(num,2)!=0;
DBMS_OUTPUT.PUT_LINE(num);
END LOOP;
END;
/
我收到以下錯誤: SQL> @ E:\dbms\f7.sql
For num IN 1..10 LOOP
*
ERROR at line 2:
ORA-06
declare
v_date varchar2(15);
begin
v_date := to_char(sysdate, 'DAY');
if upper(v_date) = to_char('TUESDAY') then
dbms_output.put_line('Today is Tuesday');
else
dbms_outp