2010-07-04 50 views
0

你好我試着此查詢:PL/SQL:ORA-00933命令無法正常結束

DECLARE 
v_week NUMBER; 

BEGIN 
SELECT WEEK FROM WEEKDESTINATION INTO (v_week) 
WHERE STARTDATE BETWEEN '02-JAN-2010'AND '09-JAN-2010'; 
END; 

,但它引發以下錯誤: PL/SQL:ORA-00933:SQL命令不能正確地結束

請幫助

回答

5

應該

SELECT WEEK INTO v_week FROM WEEKDESTINATION 
where .......