undefine dates
declare
v_dateInput VARCHAR(10);
v_dates DATE;
begin
v_dateInput := &&dates;
v_dates := to_date(v_dateInput,'dd-mm-yyyy');
DBMS_OUTPUT.put_line(v_dates);
end;
이 코드를 실행할 때마다 (예 : 03-03-1990)이 오류가 표시되는지 확실하지 않습니다.to_date function pl/sql
Error report:
ORA-01847: day of month must be between 1 and last day of month
ORA-06512: at line 6
01847. 00000 - "day of month must be between 1 and last day of month"
*Cause:
*Action:
아, 무슨 멍청한 실수 야, 도와 줘서 고마워. – user297285