Subject | Re: [firebird-support] Number list without table |
---|---|
Author | Paul Vinkenoog |
Post date | 2013-07-25T18:56:53Z |
Hi Piotr,
Or use EXECUTE BLOCK.
Cheers,
Paul Vinkenoog
> I need to get list of number (f.e 1,2,3,4,5) as rows but using only SQLYou can write a selectable stored procedure to achieve that, with the number of rows as a parameter.
> query (without extra table or view).
>
> Something what after running query looks like:
>
> List_of_numbers
> -----------------------
> 1
> 2
> 3
> 4
> 5
Or use EXECUTE BLOCK.
Cheers,
Paul Vinkenoog