Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Another PL/SQL INTERVAL error?
Hi,
Another interval problem?
sql>@interval_test
*where interval_test.sql is:
*set serveroutput on size 1000000
*declare
*begin
*set serveroutput off
declare
*
ERROR at line 1:
ORA-06550: line 5, column 15:
PLS-00167: keyword BULK is used in a wrong context
sql> l
1 declare
2 interval2 interval day(1) to second(3);
3
4 begin
5 interval2 := interval '11:20' hour to minute; 6 dbms_output.put_line('interval2: ' || interval2);7* end;
I hope that's clear. The question is, is this an Oracle bug or is there something wrong with the syntax of my interval literal? It seems to match the examples in the 9i documentation.
Thanks.
Ken Quirici Received on Tue Oct 26 2004 - 09:16:06 CDT
![]() |
![]() |