[Info-ingres] Using a sequence to supply a DBP argument

douglas.inkster at gmail.com douglas.inkster at gmail.com
Fri Jan 5 21:40:41 UTC 2018


On Friday, January 5, 2018 at 7:54:46 AM UTC-5, Roy Hann wrote:
> Assuming the myproc procedure and myseq sequence are defined correctly
> and the types match, should I be able to do this?
> 
>   execute procedure myproc ( next value for myseq );
> 
> Obviously in a moral sense I "should" be able to do this. But when I
> tried it just now I got an E_OP0681 consistency check. (That suggests
> the syntax palatable...)
> 
> Roy

Yes, this is certainly a bug - error of omission, more specifically. The bozo who introduced sequences (no names being mentioned) clearly didn't anticipate its use here. Shouldn't be hard to fix.

Doug.



More information about the Info-ingres mailing list